Extension:DisableAccount

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
MediaWiki extensions manual
DisableAccount
Release status: unmaintained
File:Disable account extension.JPG
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 Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
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

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/DisableAccount</tvar>|Download]] and move the extracted <tvar name=name>DisableAccount</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/DisableAccount
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'DisableAccount' );
    $wgGroupPermissions['bureaucrat']['disableaccount'] = true;
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

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