Hi all,
I'm trying to use pywikipedia on a private wmf wiki, it can only be
accessed by viewing it in https://. When I run login.py -all, I get
Traceback (most recent call last):
File "login.py", line 436, in <module>
main()
File "login.py", line 414, in main
if not forceLogin and site.loggedInAs(sysop = sysop):
File "/home/thehelpfulone/pywikipedia/wikipedia.py", line 5102, in
loggedInAs
self._load(sysop = sysop)
File "/home/thehelpfulone/pywikipedia/wikipedia.py", line 6053, in _load
raise RuntimeError('%s' % data['error'])
RuntimeError: {u'info': u'You need read permission to use this module',
u'code': u'readapidenied'}
How can I fix the bot to allow it to log in (and thus run scripts?). By
private wiki, I mean a wiki that you have to login to if you want to read
anything other than the Main Page.
Thanks for your help!
--
Thehelpfulone
http://en.wikipedia.org/wiki/User:Thehelpfulone
English Wikipedia Administrator