jayvdb created this task. jayvdb added a subscriber: jayvdb. jayvdb added a project: pywikibot-core. Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION Calling the `help` module on older generators results in a pywikibot `APIError` exception.
http://wiki.linuxgaming.de/api.php?action=help&modules=help&format=j... (MW 1.14)
``` {"error":{"code":"help","info":"","*":"\n \n \n ******************************************************************\n ** **\n ** This is an auto-generated MediaWiki API documentation page **\n ** ...."}} ```
```
s = pywikibot.Site('de', 'lgde') r = pywikibot.data.api.Request(site=s, action='help', modules='help') r.submit()
Found 1 lgde:de processes running, including this one. API Error: query= {'action': [u'help'], 'format': ['json'], 'maxlag': ['5'], 'modules': [u'help']} response=.... '}} Traceback (most recent call last): File "<console>", line 1, in <module> File "pywikibot/data/api.py", line 1361, in submit raise APIError(code, info, **result["error"]) APIError: help: ```
Note that the `modules` param for module `help` doesnt work in MW 1.14
TASK DETAIL https://phabricator.wikimedia.org/T93192
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: pywikipedia-bugs, jayvdb, Aklapper