Suppose in my user-conf.py has
usernames[...][...] = mybot
sysopnames[...][...] = myaccount
In the past, I couldnormally wrote pages as a bot, and when I wanted to delete a page, I just called page.delete(). Then, my bot and my account will be switched automatically.
[[gerrit:101613]] breaks this functionality. It uses self.site.logged_in(sysop=True) which always return false if the account which logged in at first is a bot. Note that self.site.logged_in also appears in redirect.py which now is not functional too (in the same topic). In my opinion, self.site.logged_in should never be used in any place because it does not consider other accounts in user-conf.py.
Version: core-(2.0)
Severity: normal