JJMC89 created this task.
JJMC89 added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  In T395205#10856132 <https://phabricator.wikimedia.org/T395205#10856132>, 
kostajh wrote:
  
  > Ok, so for tech news, something like this?
  >
  >   Bot accounts that are not using bot passwords 
(https://www.mediawiki.org/wiki/Manual:Bot_passwords) for logins will no longer 
be able to login, starting the week of June 2. Logging in with a normal 
(non-bot) password has been deprecated since 2016 
(https://lists.wikimedia.org/hyperkitty/list/[email protected]/message/3EEMN7VQX5G7WMQI5K2GP5JC2336DPTD/)
  
  
  
  In T395205#10856500 <https://phabricator.wikimedia.org/T395205#10856500>, Tgr 
wrote:
  
  > More specifically:
  >
  > - If they are using `action=login` with a non-bot-password (which has been 
deprecated in 2016), that will start failing (assuming the LoginNotify check 
fails for the login, which depends on whether the bot keeps arbitrary cookies 
and whether it makes edits).
  > - If they are using `action=clientlogin`, that will start returning an 
EmailAuthAuthenticationRequest response (which the bot probably won't be able 
to handle, so in the end it will also fail). Again assuming the LoginNotify 
check fails. `action=clientlogin` is documented to return interactive 
challenges from time to time, and as such is not suitable for automated login.
  >
  > Bots using passwords and OAuth are of course unaffected. If your bot still 
isn't using one of these, you really should fix it.
  >
  > The minimal-effort version is using a bot password which just requires:
  >
  > - making sure the bot uses `action=login` like most bots do (no way to use 
a bot password with `action=clientlogin`)
  > - making sure the bot doesn't hardcode the session cookie name (bot 
password login uses `<wiki>_BPsession` rather than `<wiki>Session`)
  > - changing the password the bot uses to log in

TASK DETAIL
  https://phabricator.wikimedia.org/T395264

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: JJMC89
Cc: Aklapper, pywikibot-bugs-list, JJMC89, mevo, PotsdamLamb, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, 
MayS, Mdupont, Dvorapa, Altostratus, binbot, Avicennasis, Hannolans, mys_721tx, 
Xqt, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to