Page MenuHomePhabricator

action=help fails in MW 1.25+
Closed, ResolvedPublic

Description

API request 'help' fails as of 1.25 (T93186)

>>> import pywikibot
>>> enwp = pywikibot.Site('en', 'wikipedia')
>>> r = pywikibot.data.api.Request(site=enwp, action='help', modules='help')
>>> r.submit()
Non-JSON response received from server wikipedia:en; the server may be down.
...

Event Timeline

jayvdb raised the priority of this task from to Needs Triage.
jayvdb updated the task description. (Show Details)
jayvdb added a project: Pywikibot.
jayvdb added subscribers: jayvdb, Aklapper.
Restricted Application added a subscriber: Unknown Object (MLST). · View Herald TranscriptMar 19 2015, 10:47 AM

That is to be expected because the API doesn't return JSON even if queried to do so: https://en.wikipedia.org/w/api.php?action=help&format=json Could you please explain what do you think should pwb do.

Change 197901 had a related patch set uploaded (by John Vandenberg):
API help module support for 1.25

https://gerrit.wikimedia.org/r/197901

Xqt triaged this task as Lowest priority.Jun 28 2017, 8:21 AM

Change 197901 merged by jenkins-bot:
[pywikibot/core@master] API help module support for 1.25+

https://gerrit.wikimedia.org/r/197901

Xqt claimed this task.