Jump to content

Extension:DisableAccount

From mediawiki.org
MediaWiki extensions manual
DisableAccount
Release status: unmaintained
Implementation Special page , User access
Description Allows administrators to disable individual accounts.
Author(s) Andrew Garrett (Werdnatalk)
MediaWiki >= 1.35.0
Database changes No
License GNU General Public License 2.0 or later
Download
disableaccount
Quarterly downloads 6 (Ranked 129th)
Translate the DisableAccount extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The DisableAccount extension allows administrators to disable individual users' wiki accounts.

Disabling an account will remove this user's password and email, and place it in an "inactive" user group. It is not reversible without system administrator intervention. To re-enable an account, remove it from the inactive user group, and reset its password using changePassword.php .

Installation

[edit]
  • Download and move the extracted DisableAccount folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/DisableAccount
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'DisableAccount' );
    $wgGroupPermissions['bureaucrat']['disableaccount'] = true;
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

The second line above assumes you want to give the disableaccount permission to users in the bureaucrat user group. Replace bureaucrat in the LocalSettings.php lines with the appropriate other user group, if you wish to use a different configuration. The permission should not be given to user groups that are automatically assigned or widely populated.

See also

[edit]