Bugs item #3546402, was opened at 2012-07-20 10:48 Message generated for change (Comment added) made by russblau You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3546402...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: rewrite Group: None
Status: Closed Resolution: Fixed
Priority: 5 Private: No Submitted By: Morten Wang (nettrom) Assigned to: Russell Blau (russblau) Summary: Switching sites with different accounts does not re-login
Initial Comment: Pywikibot [http] branches/rewrite (r10454, 2012/07/13, 23:55:46) Python 2.7.1 (r271:86832, Feb 8 2011, 09:38:37) [GCC 4.2.3]
If a script switches between sites and have different account names on these sites it can lead to an incorrect account being used when switching back again. See attached test case script and example output which makes a simple API query against two Wikipedias. The third query does not lead to the bot logging back in to English Wikipedia leading to a discrepancy between the Site() object's user information and the user information returned by the API request.
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2013-05-09 10:51
Message: Fix in rev 11517
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3546402...
pywikipedia-bugs@lists.wikimedia.org