I think there is a lot to develop here both in software and documentation. As I am not the fortunate one, who just follows simple instrauctions and suceeds, I try tomake use of my experience. Currently getting to the first real step with a bot does not seem to simple for a newcomer and may make people to give it up early.2017-05-16 17:54 GMT+02:00 Morten Wang <nettrom@gmail.com>:I don't remember exactly why they implemented this, but based on the manual[1] I get the impression that they moved to using bot passwords and OAuth to have better control over what bots can and cannot do. With the old username/password setup, that combination gives access to everything, whereas the other approaches allow you to only provide the bot with specific permissions.So yes, login might break at some point.References:Cheers,MortenOn 16 May 2017 at 06:04, Bináris <wikiposta@gmail.com> wrote:______________________________ _________________Is login.py really subject to break again at any time?Furthermore, after login I got these warnings from API:This is a nice conservation. :-)I tried to log in with one of my bots interactively via web browser, and after login I got a screen stating my password was invalid because it was shorter than 8 characters, and I was obliged to change it. Afterwords I could log in. This is a case that is not handled by login.py at all. I don't dare to change the password of my main bot account because it is fortunately still logged in to compat, and I don't want to risk it.
WARNING: API warning (main): Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/m ailman/listinfo/mediawiki-api- announce> for notice of API deprecations and breaking changes. Use [[Special:ApiFeatureUsage]] to see usage of deprecated features by your application.
WARNING: API warning (login): Main-account login via "action=login" is deprecated and may stop working without warning. To continue login with "action=login", see [[Special:BotPasswords]]. To safely continue using main-account login, see "action=clientlogin".
Logged in on wikipedia:hu as BinBott.--2017-05-16 11:13 GMT+02:00 Bináris <wikiposta@gmail.com>:2017-05-16 0:31 GMT+02:00 Bináris <wikiposta@gmail.com>:That's nice. How to tell login.py to handle this case and use clientlogin?2017-05-15 23:53 GMT+02:00 Bináris <wikiposta@gmail.com>:None of them is what I want.What is difference between "ERROR: Login failed (Aborted)." and "ERROR: Login failed (Failed)."?Hi,I downloaded core and try to use it.I think the first message is shown when I enter the correct password. Tested with two bot accounts. No further explanation.Now, Tgr showed me this page: https://www.mediawiki.org/wiki /API:Login#The_login_actionAborted (since 1.27) if the login using the main account password (rather than a bot password) cannot proceed because user interaction is required. Theclientlogin
action should be used instead.--BinárisBináris
pywikibot mailing list
pywikibot@lists.wikimedia.org
https://lists.wikimedia.org/ma ilman/listinfo/pywikibot
______________________________ _________________
pywikibot mailing list
pywikibot@lists.wikimedia.org
https://lists.wikimedia.org/ma ilman/listinfo/pywikibot
--Bináris
______________________________ _________________
pywikibot mailing list
pywikibot@lists.wikimedia.org
https://lists.wikimedia.org/ mailman/listinfo/pywikibot