1
0
Fork 0
mirror of https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot synced 2024-09-19 21:58:49 +02:00

Merge pull request #46 from Nintendofan885/patch-1

Fix typo
This commit is contained in:
Martin Urbanec 2022-03-25 21:56:03 +01:00 committed by GitHub
commit 9cd5be9296
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -176,11 +176,11 @@ class PostCreationHandler(object):
def _check_wikidata(self):
url = 'https://www.wikidata.org/w/api.php'
wikiata_help_page = requests.get(url, params={
wikidata_help_page = requests.get(url, params={
'action': 'help',
'modules': 'wbgetentities'
}).text
self.add_checklist(url, 'Wikidata', self.db_name in wikiata_help_page)
self.add_checklist(url, 'Wikidata', self.db_name in wikidata_help_page)
def _handle_wikidata(self):
client.createSubtask(