Extension:DisableAccount

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
DisableAccount

Release status:Extension status stable

Disable account extension.JPG
ImplementationTemplate:Extension#type Special page
DescriptionTemplate:Extension#description Allows administrators to disable individual accounts.
Author(s)Template:Extension#username Andrew Garrett (Werdnatalk)
MediaWikiTemplate:Extension#mediawiki 1.23+
PHPTemplate:Extension#php 5.4+
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Download
Added rightsTemplate:Extension#rights

disableaccount

Translate the DisableAccount extension if it is available at translatewiki.net

Check usage and version matrix.

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

Disabling account will remove this user's password and email, and make it in "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 Manual:changePassword.php.

Installation[edit]

  • Download and place the file(s) in a directory called DisableAccount in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/DisableAccount/DisableAccount.php";
    $wgGroupPermissions['bureaucrat']['disableaccount'] = true;
    
  • YesY 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. Obviously, the permission should not be given to user groups that are automatically assigned or widely populated.