jayvdb added a comment.
action=help is a valid module since .. well a very long time ago. https://www.mediawiki.org/wiki/API:Help It does work as expected in 1.19 (wikia) and 1.24 (https://docs.moodle.org/19/fr/api.php)
s = pywikibot.Site('wikia', 'wikia') r = pywikibot.data.api.Request(site=s, action='help', modules='help') r.submit()
{u'help': [u'* action=help *\n Display this help screen. Or the help screen for the specified module\nParameters:\n modules - List of module names (value of the action= parameter)\n querymodules - List of query module names (value of prop=, meta= or list= parameter)\nExamples:\n Whole help page:\n api.php?action=help\n Module (action) help page:\n api.php?action=help&modules=protect\n Query (list) modules help page:\n api.php?action=help&querymodules=categorymembers\n Query (prop) modules help page:\n api.php?action=help&querymodules=info\n Query (meta) modules help page:\n api.php?action=help&querymodules=siteinfo\nHelp pages:\n https://www.mediawiki.org/wiki/API:Main_page%5Cn https://www.mediawiki.org/wiki/API:FAQ%5Cn https://www.mediawiki.org/wiki/API:Quick_start_guide%5Cn%27%5D%7D
import pywikibot s = pywikibot.Site('fr', 'moodle') r = pywikibot.data.api.Request(site=s, action='help', modules='help') r.submit()
{u'help': [u"* action=help *\n Display this help screen. Or the help screen for the specified module.\n https://www.mediawiki.org/wiki/API:Main_page%5Cn https://www.mediawiki.org/wiki/API:FAQ%5Cn https://www.mediawiki.org/wiki/API:Quick_start_guide%5CnParameters:%5Cn modules - List of module names (value of the action= parameter). Can specify submodules with a '+'\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n querymodules - DEPRECATED! Use modules=query+value instead. List of query module names (value of prop=, meta= or list= parameter)\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\nExamples:\n Whole help page:\n api.php?action=help\n Module (action) help page:\n api.php?action=help&modules=protect\n Help for the query/categorymembers module:\n api.php?action=help&modules=query+categorymembers\n Help for the login and query/info modules:\n api.php?action=help&modules=login|query+info\n"]}
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: XZise, jayvdb, Aklapper, pywikipedia-bugs