jayvdb created this task. jayvdb added subscribers: jayvdb, Aklapper. jayvdb added a project: pywikibot-core. Restricted Application added a subscriber: pywikipedia-bugs.
TASK 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. ... ```
TASK DETAIL https://phabricator.wikimedia.org/T93188
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: Aklapper, jayvdb, pywikipedia-bugs
XZise added a subscriber: XZise. XZise added a comment.
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.
TASK DETAIL https://phabricator.wikimedia.org/T93188
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: XZise Cc: XZise, Aklapper, jayvdb, pywikipedia-bugs
gerritbot added a subscriber: gerritbot. gerritbot added a comment.
Change 197901 had a related patch set uploaded (by John Vandenberg): API help module support for 1.25
https://gerrit.wikimedia.org/r/197901
TASK DETAIL https://phabricator.wikimedia.org/T93188
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: gerritbot Cc: gerritbot, XZise, Aklapper, jayvdb, pywikipedia-bugs
gerritbot added a project: Patch-For-Review.
TASK DETAIL https://phabricator.wikimedia.org/T93188
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: gerritbot Cc: gerritbot, XZise, Aklapper, jayvdb, pywikipedia-bugs
pywikipedia-bugs@lists.wikimedia.org