1
0
Fork 0
mirror of https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot synced 2024-11-22 03:52:37 +01:00
wikiata_help_page -> wikidata_help_page
This commit is contained in:
Nintendofan885 2022-03-25 20:04:10 +00:00 committed by GitHub
parent ce496e1e53
commit dccae07688
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(