Calling the help module on older generators results in a pywikibot APIError exception.
http://wiki.linuxgaming.de/api.php?action=help&modules=help&format=json (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