Enforcing desysopping by a moderator

Jump to navigation Jump to search

Enforcing desysopping by a moderator

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;
#etc...

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?

User:Brxbrx/sig05:10, 22 September 2011