Menu

#1242 redirect.py claims I'm not a sysop

closed-wont-fix
nobody
login (24)
5
2010-09-28
2010-09-28
No

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

Discussion

  • Daniel Barrett

    Daniel Barrett - 2010-09-28

    Typo in my example: "Country based pricing plan" should read "My article title".

     
  • Multichill

    Multichill - 2010-09-28

    Please add

    sysopnames['vistawiki']['en'] = u'Wikisysop2'

    to your user-config.py and try again.

     
  • Daniel Barrett

    Daniel Barrett - 2010-09-28
    • status: open --> closed-wont-fix
     
  • Daniel Barrett

    Daniel Barrett - 2010-09-28

    That worked. I assume this is a new configuration variable that wasn't required previously.

     

Log in to post a comment.

MongoDB Logo MongoDB