akashagarwal added a comment.
I am able to replicate it in a local mediawiki installation and am trying to solve it. Those tokens are hard coded in TOKENS_1 (as suggested in https://phabricator.wikimedia.org/T85725 ) in site.py and commenting them out from the set temporarily resolves the problem. As per my understanding, these tokens are required only when the Central Auth Extension https://www.mediawiki.org/wiki/Extension:CentralAuth is installed, as the corresponding API methods belong to this extension. So, I'm now trying to find a way to check whether the extension is installed and then modify TOKENS_1 accordingly. Am I on the right path and is there any simple way to do so ?
TASK DETAIL https://phabricator.wikimedia.org/T72965
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: akashagarwal Cc: akashagarwal, Nemo_bis, jayvdb, XZise, pywikipedia-bugs
pywikipedia-bugs@lists.wikimedia.org