Skeeve has asked for the wisdom of the Perl Monks concerning the following question:
When trying to understand MediaWiki::API badtoken every now and then I found this message in my MediaWiki (version 0.41) object:
{ "warnings": { "login": { "*": "Main-account login via action=login is deprecated and may +stop working without warning. To continue login with action=login, se +e [[Special:BotPasswords]]. To safely continue using main-account log +in, see action=clientlogin." } }, "login": { "result": "Success", "lguserid": 11, "lgusername": "…", "lgtoken": "…", "cookieprefix": "…", "sessionid": "…" } }
Update
Seems I just had to open the wiki's link mentioned in the object.
Opening that link and logging in, I could create a "Bot-Account" for my account which, when used in login, does not produce the warning anymore.
I have yet to see whether this has any influence on the other issue.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: MediaWiki::API v0.41 worries
by LanX (Saint) on Mar 28, 2018 at 14:48 UTC | |
by Skeeve (Parson) on Mar 28, 2018 at 14:51 UTC |