Bugs item #1968967, was opened at 2008-05-21 19:52 Message generated for change (Comment added) made by cosoleto You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1968967...
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: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: David Crochet (crochet_david) Assigned to: Nobody/Anonymous (nobody) Summary: no possible deletion with delete user right
Initial Comment: my bot (Crochet.david.bot) had a Test-administrator group statut (so not the sysop group statut), but this statut have the delete rights (as the sysop group statut) in the incubator wikimedia project.
So, as you can see with the terminal output (attach file) the bot can't delete.
user rights in incubator : http://incubator.wikimedia.org/wiki/Special:ListGroupRights
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2008-06-12 15:50
Message: Logged In: YES user_id=181280 Originator: NO
In wikipedia.py (_getUserData()) try to replace:
if 'sysop' in self._rights[index]: self._rights[index].extend(['delete', 'undelete', 'block', 'protect', 'import', 'deletedhistory', 'unwatchedpages'])
with:
if 'sysop' in self._rights[index] or 'test-sysop' in self._rights[index]: self._rights[index].extend(['delete', 'undelete', 'block', 'protect', 'import', 'deletedhistory', 'unwatchedpages'])
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz) Date: 2008-05-22 19:35
Message: Logged In: YES user_id=1963242 Originator: NO
I'm told by david that wgUserGroups reads var wgUserGroups = ["bot", "test-sysop", "*", "user", "autoconfirmed"]; on the incubator, meaning that site._rights[1] will be ["bot", "test-sysop", "user", "autoconfirmed"]
Then, when isAllowed('delete', True), boolean checks " 'delete' in site._rights[1] ", it returns False, and it raises a LockedPage exception.
David also tells me that his admin user rights (on wikiversity-fr) are "var wgUserGroups = ["sysop", "*", "user", "autoconfirmed"];". This means that even with "normal" sysop rights, "delete" is *_never_* in var wgUserGroups.
I don't have sysop rights on any projects, so I can't really diagnose much more on this problem, but are we sure that we are still able to delete pages here ? Isn't somewhat broken ??
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1968967...