Dreamy_Jazz created this task.
Dreamy_Jazz added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION

At line 5029 of site.py, is written

bot = ('bot' in self.userinfo['rights'])

this does not work (at least for enwiki) for detecting whether the bot has the bot right, as the bot right is stored in groups (and not rights). Therefore, this line should be changed to:

bot = ('bot' in self.userinfo['groups'])

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

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

To: Dreamy_Jazz
Cc: Aklapper, pywikibot-bugs-list, Dreamy_Jazz, Wenyi, Mahveotm, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to