Enforcing desysopping by a moderator

Jump to: navigation, search

Please summarize the below thread in the editing box. You may use any wikitext in your summary. When you finish, click "Save page".

Ceiling cat.jpg W A R N I N G

You are not logged in. Your IP address will be recorded in this page's edit history, and will be visible to anyone. See our privacy policy for further information. To protect your privacy, please log in or create an account

Please note that all contributions to RationalWiki are considered to be released under the CC-BY-SA 3.0, or any later version (see RationalWiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work unless you have permission.

Cancel | Editing help (opens in new window)
Your changes will be visible immediately.

Please note:

With $wgRevokePermissions you could set up a group that revokes all the sysop rights and make it so only mods can add and remove it. Then it wouldn't matter if another sysop undid the desysopping, because the revoking group would override the sysop rights.

So for example:

#Because of https://bugzilla.wikimedia.org/show_bug.cgi?id=23934 (fixed in MW1.17), you need a dummy wgGroupPermissions entry
$wgGroupPermissions['sysoprevoke']['block']  = false;
$wgRevokePermissions['sysoprevoke']['block'] = true;
$wgRevokePermissions['sysoprevoke']['delete'] = true;

The only problem is that I don't think you can prevent the user from changing user rights, since sysops don't have the full userrights right, their ability to make people sysops is governed by $wgAddGroups and $wgRemoveGroups, and I don't think there's a way to revoke that with a second group.

-- Nx / talk06:00, 18 September 2011

Does promote/demote have a hook?

Tmtoulouse (talk)08:39, 18 September 2011

It had one. It was removed in MW1.16, because no extension was using it. Sigh.

Edit: Here, the last one

-- Nx / talk08:44, 18 September 2011

So does this thing work or not?

"Shut up, Brx."05:10, 22 September 2011
Personal tools