JJMC89 added a comment.
In T229293#5430001 <https://phabricator.wikimedia.org/T229293#5430001>, @Huji wrote: > First of all, I found out something really interesting: when I run the bot against test.wikipedia.org it works without any issues. When I run it against fa.wikipedia.org I get that Login Failed error followed by the script asking for my password. > This made me remember that on fawiki we do not assign admin bots to the "sysop" group; instead, we assign them to the "botadmin" group. I added my bot to the "sysop" group as well and re-run it, and it did not show any error messages. So whatever is the issue has to do with the "botadmin" group (or more specifically, with the differences between its rights and that of the "sysop" group). In T229293#5430002 <https://phabricator.wikimedia.org/T229293#5430002>, @Huji wrote: > This can potentially be a MediaWiki bug (such as a hardcoded "sysop" value somewhere in the API code), so I am going to add a MW tag as well. I think this is pywikibot's @must_be <https://github.com/wikimedia/pywikibot/blob/5efeb820c15b75b797129e445faf77ee246e1105/pywikibot/site.py#L1298> decorator attempting to log the bot in as a sysop, which your bot couldn't do without being in the sysop group. T71283: dualism between user and sysop needs to be overtaken <https://phabricator.wikimedia.org/T71283> TASK DETAIL https://phabricator.wikimedia.org/T229293 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: JJMC89, Dvorapa, Dalba, Framawiki, Aklapper, Huji, pywikibot-bugs-list, Viztor, DannyS712, Wenyi, Tbscho, MayS, Mdupont, Altostratus, Avicennasis, Wong128hk, mys_721tx, Dinoguy1000, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
