mirror of
https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot
synced 2024-11-22 03:52:37 +01:00
commit
9cd5be9296
1 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue