Page MenuHomePhabricator

Token missing
Open, Needs TriagePublic


Token missing in addwiki-api and addwiki-api-base.

PHP Fatal error: Uncaught Mediawiki\Api\UsageException: Code: notoken
Message: The "token" parameter must be set.
Result: {"error":{"code":"notoken","info":"The \"token\" parameter must be set.","*":"See https:\/\/\/w\/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https:\/\/\/mailman\/listinfo\/mediawiki-api-announce> for notice of API deprecations and breaking changes."},"servedby":"mw1276"} in /vendor/addwiki/mediawiki-api-base/src/MediawikiApi.php:374

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 13 2019, 2:05 PM
Yann added a comment.May 13 2019, 2:10 PM

This is important. Because of this the Delinker bot is down, and there is already a huge queue:

Ankry added a subscriber: Ankry.May 13 2019, 3:02 PM
Steinsplitter added a comment.EditedMay 14 2019, 10:54 AM

Sorry, forgot to add that!

Exactly, the error is caused when the logout();[1] function is called. (so SimpleRequest has to be extended with params['token'] in that line i guess)

Addshore moved this task from Incoming to In Progress on the Addwiki board.May 14 2019, 8:44 PM