https://bugzilla.wikimedia.org/show_bug.cgi?id=55140
Web browser: --- Bug ID: 55140 Summary: force login after performing a sysop action Product: Pywikibot Version: unspecified Hardware: All OS: All Status: ASSIGNED Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1632/ Reported by: nu11zer0 Created on: 2013-05-03 05:54:46 Subject: force login after performing a sysop action Assigned to: russblau Original description: After my bot performed a sysop action, then wrote to a page, the bot wrote without botflag! It seems that the framework cached some informations and understood that the bot has no flag. My workaround is to add "site.login()" after every sysop action. But it should be implemented in the framework. Note that now redirect.py also has this problem.
---- Pywikibot branches/rewrite/ (r11487, 2013/05/02, 07:59:55, ok) Python 2.7.3 (default, Sep 26 2012, 21:53:58) [GCC 4.7.2] unicode test: ok