https://bugzilla.wikimedia.org/show_bug.cgi?id=65196
Bug ID: 65196
Summary: Cannot be logged in as user and sysop at the same time
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: [email protected]
Reporter: [email protected]
Web browser: ---
Mobile Platform: ---
e.g.
user-config.py:
usernames['wikipedia']['nl'] = 'valhallasw-botje'
sysopnames['wikipedia']['nl'] = 'valhallasw'
test.py
import pywikibot
s = pywikibot.Site()
s.login(False) # as user, asks for password
s.login(True) # as sysop, asks for password, *overwrites* cookies (!)
s.login(False) # as users, asks for password *again*
It should be possible to switch between sysop and bot accounts in a script
without requiring the user to enter the password every time
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l