Huji added a comment.
That is my best guess. Here is an excerpt of the relevant portions of the output of my bot in one of its recent runs: ... Checking 5.113.58.172 Checking 38.91.100.235 Logging in to wikipedia:fa as HujiBot 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". WARNING: API warning (main): Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/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 error badtoken: Invalid CSRF token. Sleeping for 4.8 seconds, 2019-08-14 00:05:33 Checking 185.176.57.25 ... 38.91.100.235 was the fifth IP it blocked in that run. You can see that the CSRF warning is shown right around when the block is done. TASK DETAIL https://phabricator.wikimedia.org/T229293 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Huji Cc: Framawiki, Aklapper, Huji, pywikibot-bugs-list, Viztor, DannyS712, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs