https://bugzilla.wikimedia.org/show_bug.cgi?id=64817
Bug ID: 64817 Summary: bot doesn't remain logged Product: Pywikibot Version: compat (1.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: login.py Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: phil.el@free.fr Web browser: --- Mobile Platform: ---
Opened with compat but someone reported the same trouble with core on the irc channel, on compat a simple
$ python login.py
Password for user Phe-bot on wikipedia:fr No characters will be shown xxxxxx Should be logged in now
$ python login.py -test You are not logged in on wikipedia:fr.
The cookie seems fine for the first run
[{'cookieprefix': 'None', 'centralauth_Session': '8c5318ab60af405a5b4c9ca0700b4d47', 'frwikiSession': 'e9f77b61c9a44a54b1cfe999473861f7', 'GeoIP': 'My geo loc here:v4', 'centralauth_Token': 'deleted', 'centralauth_User': 'Phe-bot', 'forceHTTPS': 'true', 'frwikiToken': 'deleted', 'frwikiUserName': 'Phe-bot', 'frwikiUserID': '4507'}, None]
with the $ python login.py -test the same cookie are sent back to the server when doing the userinfo request but the server answer
{u'query': {u'userinfo': {u'name': u'My_IP here', u'rights': [u'createaccount', u'read', u'edit', u'createpage', u'createtalk', u'writeapi', u'editmyusercss', u'editmyuserjs', u'viewmywatchlist', u'editmywatchlist', u'viewmyprivateinfo', u'editmyprivateinfo', u'editmyoptions', u'centralauth-merge', u'abusefilter-log', u'vipsscaler-test'], u'ratelimits': {u'emailuser': {u'ip': {u'seconds': 86400, u'hits': 5}}, u'edit': {u'ip': {u'seconds': 60, u'hits': 8}}, u'linkpurge': {u'ip': {u'seconds': 60, u'hits': 30}}, u'mailpassword': {u'ip': {u'seconds': 3600, u'hits': 5}}, u'renderfile': {u'ip': {u'seconds': 30, u'hits': 700}}, u'renderfile-nonstandard': {u'ip': {u'seconds': 30, u'hits': 70}}}, u'anon': u'', u'preferencestoken': u'+\', u'groups': [u'*'], u'id': 0}}}
https://bugzilla.wikimedia.org/show_bug.cgi?id=64817
Maarten Dammers maarten@mdammers.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |High CC| |maarten@mdammers.nl Severity|normal |major
--- Comment #1 from Maarten Dammers maarten@mdammers.nl --- I've observed the same behavior the last couple of days on several Wikipedia's and Wikidata. We should check if something was changed upstream.
https://bugzilla.wikimedia.org/show_bug.cgi?id=64817
joan.creus.c@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joan.creus.c@gmail.com
--- Comment #2 from joan.creus.c@gmail.com --- Same thing here. It started for me on Friday May 2nd. I was on an old svn version. Changed to compat, same behaviour. Every single edit appeared as done from my IP.
On core, I get a first run OK; but when I call the bot from a different script, it keeps asking for reauthentication. No errors are ever reported; it just asks for authentication.
https://bugzilla.wikimedia.org/show_bug.cgi?id=64817
--- Comment #3 from Maarten Dammers maarten@mdammers.nl --- Upstream log:
https://wikitech.wikimedia.org/wiki/Deployments/Archive/2014#Week_of_April_2...
https://bugzilla.wikimedia.org/show_bug.cgi?id=64817
Maarten Dammers maarten@mdammers.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |64727
--- Comment #4 from Maarten Dammers maarten@mdammers.nl --- Upstream bug is patched, but not deployed yet.
https://bugzilla.wikimedia.org/show_bug.cgi?id=64817 Bug 64817 depends on bug 64727, which changed state.
Bug 64727 Summary: Bot is getting void edit token after MediaWiki 1.24wmf2 deployment https://bugzilla.wikimedia.org/show_bug.cgi?id=64727
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |PATCH_TO_REVIEW Resolution|FIXED |---
https://bugzilla.wikimedia.org/show_bug.cgi?id=64817 Bug 64817 depends on bug 64727, which changed state.
Bug 64727 Summary: Bot is getting void edit token after MediaWiki 1.24wmf2 deployment https://bugzilla.wikimedia.org/show_bug.cgi?id=64727
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED Resolution|--- |FIXED
https://bugzilla.wikimedia.org/show_bug.cgi?id=64817
Philippe Elie phil.el@free.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Philippe Elie phil.el@free.fr --- patch applied, see #64727
pywikipedia-bugs@lists.wikimedia.org