Extension:EmergencyDeSysop

Installation

 * 1) Retrieve the latest version from the subversion repository
 * 2) Add the following to your , at the bottom:

That's it!

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.

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


 * The default is:


 * Setting this variable, will remove the user making the desysop request from the 'bureaucrat' group as well, if they are in that group.
 * Setting this variable, will remove the user making the desysop request from the 'bureaucrat' group as well, if they are in that group.


 * Setting this variable, will remove the user targeted by the desysop request from the 'bureaucrat' group as well, if they are in that group.
 * Setting this variable, will remove the user targeted by the desysop request from the 'bureaucrat' group as well, if they are in that group.


 * Setting this variable, will remove the user making the desysop request from all groups that they are in.
 * Setting this variable, will remove the user making the desysop request from all groups that they are in.


 * Setting this variable, will remove the user targeted by the desysop request from all groups that they are in.
 * Setting this variable, will remove the user targeted by the desysop request from all groups that they are in.

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.

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.