Extension:EmergencyDeSysop

From MediaWiki.org

Jump to: navigation, search

           

Manual on MediaWiki Extensions
List of MediaWiki Extensions
Crystal Clear action run.png
EmergencyDeSysop

Release status: beta

Implementation  User rights
Description Allows a sysop to sacrifice their own bit, in order to remove the bits of another in an emergency.
Author(s)  SQL
Last Version  r43400 (September 24, 2008)
MediaWiki  1.13 or better
License GPL
Download Download snapshot

Subversion [Help]
Browse source code

check usage (experimental)

Contents

[edit] Installation

  1. Retrieve the latest version from the subversion repository
  2. Add the following to your LocalSettings.php, at the bottom:
    require_once( "$IP/extensions/EmergencyDeSysop/EmergencyDeSysop.php" );
    

That's it!

[edit] Use

Visit Special:EmergencyDeSysop, and, fill out the form, along with the confirmation. Press submit, and, both you and the target user will be de-grouped.

[edit] Configuration

The following may be added to your LocalSettings.php file anywhere below where the extension is loaded.

  • The default is:
    $wgEmDesysop = array('Requestor' => NULL, 'Target' => NULL);

  • $wgEmDesysop['Requestor'] = "Crat";
    • Setting this variable, will remove the user making the desysop request from the 'bureaucrat' group as well, if they are in that group.
  • $wgEmDesysop['Target'] = "Crat";
    • Setting this variable, will remove the user targeted by the desysop request from the 'bureaucrat' group as well, if they are in that group.
  • $wgEmDesysop['Requestor'] = "All";
    • Setting this variable, will remove the user making the desysop request from all groups that they are in.
  • $wgEmDesysop['Target'] = "All";
    • Setting this variable, will remove the user targeted by the desysop request from all groups that they are in.

[edit] Messages

You may want to change MediaWiki:emergencydesysop-confirmform and MediaWiki:emergencydesysop-confirm if you wish to use a word other than "CONFIRM" for confirmation of intent. MediaWiki:emergencydesysop-header should also probably be customized, along with MediaWiki:emergencydesysop-done.

[edit] Caveats

In this extension's default configuration Bureaucrats are effectively untouchable, as they can simply restore their own membership to the sysop group. Additionally, they can basically (ab)use the extension, to desysop another sysop, then, immediately restore their own group membership, as many times as they'd like.