Extension:EmergencyDeSysop

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
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
Latest version r43400 (September 24, 2008)
MediaWiki 1.13 or better
License GPL
Download Template:WikimediaDownload/svn
Added rights

emergencydesysop

Translate the EmergencyDeSysop extension if possible

Check usage and version matrix; code metrics

Installation[edit | edit source]

  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!

Use[edit | edit source]

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.

Configuration[edit | edit source]

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.

Messages[edit | edit source]

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.

Caveats[edit | edit source]

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.