Bugs item #3077408, was opened at 2010-09-28 13:04
Message generated for change (Comment added) made by djbarrett
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=307740…
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: login
Group: None
Status: Closed
Resolution: Wont Fix
Priority: 5
Private: No
Submitted By: Daniel Barrett (djbarrett)
Assigned to: Nobody/Anonymous (nobody)
Summary: redirect.py claims I'm not a sysop
Initial Comment:
Recently, redirect.py is refusing to delete articles, claiming "No sysop in
user-config.py, put page to speedy deletion." However, the user in user-config.py is
indeed a "bot" and a "sysop" on our wiki. This behavior began
recently.
$ python redirect.py broken -pt:1
Retrieving special page...
Retrieved 55 redirects from special page.
>> My article title <<<
Redirect
target [[My missing article]] does not exist. Do you want to delete [[My article title]]?
([y]es, [N]o, [a]ll, [q]uit) y
No sysop in user-config.py, put page to speedy deletion.
Updating page [[Country based pricing plan]] via API
user-config.py contains:
mylang='en'
family='mywiki'
usernames['vistawiki']['en'] = u'Wikisysop2'
I already tried clearing out the login-data subdirectory and running login.py again
(successfully). However, the sysop problem remains. Any ideas?
$ python version.py
Pywikipedia [http] trunk/pywikipedia (r8598, 2010/09/27, 09:35:21)
Python 2.4.3 (#1, Sep 3 2009, 15:37:37)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
config-settings:
use_api = True
use_api_login = True
----------------------------------------------------------------------
Comment By: Daniel Barrett (djbarrett)
Date:
2010-09-28 14:46
Message:
That worked. I assume this is a new configuration variable that wasn't
required previously.
----------------------------------------------------------------------
Comment By: Multichill (multichill)
Date: 2010-09-28 13:58
Message:
Please add
sysopnames['vistawiki']['en'] = u'Wikisysop2'
to your user-config.py and try again.
----------------------------------------------------------------------
Comment By: Daniel Barrett (djbarrett)
Date: 2010-09-28 13:05
Message:
Typo in my example: "Country based pricing plan" should read "My article
title".
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=307740…