Xqt added a comment.
In T396927#10915839 <https://phabricator.wikimedia.org/T396927#10915839>, @Tgr wrote: > If you have seen it with multiple accounts then probably what happened is that the bot hit the failed logins per IP threshold; after that, for a while, all login attempts from that IP get a captcha. This has been around for a long time (and is an example of why the clientlogin API is kind of unpredictable) but most users never encounter it since you need a number of successive login failures to trigger it. You are right: I runned some pywikibot tests with the Pywikibot-test account on my local PC and there was a malformed config for the password. This resulted in login failure for all accounts with this IP because captcha request was not detected and cannot be handled like we do e.g. for Site.editpage <https://doc.wikimedia.org/pywikibot/master/_modules/pywikibot/site/_apisite.html#APISite.editpage>. Maybe a better API error message error/status code could be helpfull for this case. I just got //Incorrect username or password entered. Please try again.// or on dewiki //Das Passwort und/oder das Sicherheitswort (CAPTCHA) ist falsch oder wurde nicht eingegeben. Bitte versuche es erneut oder lass dir das [[Spezial:Passwort neu vergeben|Passwort per E-Mail zurücksetzen]]. Du kannst auch [[Special:Userlogin/signup|ein neues Benutzerkonto erstellen]].// which is not usefull to detect the captcha problem. TASK DETAIL https://phabricator.wikimedia.org/T396927 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
