Extension:DisableAccount
|
DisableAccount Release status: stable |
||
|---|---|---|
| Implementation | Special page | |
| Description | Allows administrators to disable individual accounts. | |
| Author(s) | Andrew Garrett (Werdnatalk) | |
| MediaWiki | 1.23+ | |
| PHP | 5.3+ | |
| Database changes | No | |
| License | GNU General Public License 2.0 or later | |
| Download | ||
|
||
|
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
DisableAccountin yourextensions/folder. - Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/DisableAccount/DisableAccount.php";
$wgGroupPermissions['bureaucrat']['disableaccount'] = true;
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.
| This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page. |

