jwbf icon indicating copy to clipboard operation
jwbf copied to clipboard

Failed to login (Fetching a token via "action=login" is deprecated)

Open Sodium-Aluminate opened this issue 4 years ago • 0 comments

I tried to login a fandom wiki and edit something, but isLoggedIn() returns false after I tried login, without any stderr. So I debug at HttpActionClient, and the out value is:

<?xml version="1.0"?><api><warnings><main xml:space="preserve">Subscribe to the mediawiki-api-announce mailing list at &lt;https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce&gt; for notice of API deprecations and breaking changes.</main><login xml:space="preserve">Fetching a token via "action=login" is deprecated. Use "action=query&amp;meta=tokens&amp;type=login" instead.</login></warnings><login result="NeedToken" token="balabalabalabalabalabalabalabalabalabala+\" /></api>

Sodium-Aluminate avatar Dec 11 '21 14:12 Sodium-Aluminate