AntiCompositeNumber added a comment.
Because bots using OAUTH are not considered logged-in by Pywikibot, those bots will always ignore bot-specific exclusion templates. However, site.username() will return the username. page.botMayEdit should fail safe, which means that it should return False when the username matches, even if the bot is not logged in. That's a very easy fix, and I'll put a patch in momentarily. TASK DETAIL https://phabricator.wikimedia.org/T153541 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: AntiCompositeNumber Cc: AntiCompositeNumber, Dvorapa, Framawiki, Aklapper, Poyekhali, pywikibot-bugs-list, zhuyifei1999, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
