mirror of
https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot
synced 2024-11-08 13:12:38 +01:00
Fix typo
wikiata_help_page -> wikidata_help_page
This commit is contained in:
parent
ce496e1e53
commit
dccae07688
1 changed files with 2 additions and 2 deletions
|
@ -176,11 +176,11 @@ class PostCreationHandler(object):
|
||||||
|
|
||||||
def _check_wikidata(self):
|
def _check_wikidata(self):
|
||||||
url = 'https://www.wikidata.org/w/api.php'
|
url = 'https://www.wikidata.org/w/api.php'
|
||||||
wikiata_help_page = requests.get(url, params={
|
wikidata_help_page = requests.get(url, params={
|
||||||
'action': 'help',
|
'action': 'help',
|
||||||
'modules': 'wbgetentities'
|
'modules': 'wbgetentities'
|
||||||
}).text
|
}).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):
|
def _handle_wikidata(self):
|
||||||
client.createSubtask(
|
client.createSubtask(
|
||||||
|
|
Loading…
Reference in a new issue