Extension:EditAccount

From MediaWiki.org
Jump to navigation Jump to search


MediaWiki extensions manual
OOjs UI icon advanced.svg
EditAccount
Release status: stable
Editaccount.png
Implementation Special page
Description Allows editing account details, or disabling an account
Author(s) Łukasz Garczewski, Jack Phoenix
Latest version 1.3.3 (2017-01-27)
MediaWiki 1.29+
License GNU General Public License 2.0 or later
Download
Added rights
editaccount
Translate the EditAccount extension if it is available at translatewiki.net
Check usage and version matrix.

The EditAccount extension has two main purposes. One is to change the password, real name, or email address of another user. The second is to disable the account of another user.

The special page may be limited to a certain user group such as staff or bureaucrats.

Effects[edit]

After disabling an account, the user is immediately logged out. This prevents them visiting their preferences and setting a new password or email address - which might be possible if you had simply scrambled their password.

When an account is disabled, the user will no longer be able to log in. Their password will be scrambled. Their email address will be removed. Their real name will be set to "Account Disabled". Their E-mail authentication status will be set to "not authenticated". The Registration date and other preferences info will not be affected.

A note appears on the user's contributions list of a disabled account stating "This account has been disabled." (View example).

All account edits are logged.

Installation[edit]

  • Download and place the file(s) in a directory called EditAccount in your extensions/ folder.

To users running MediaWiki 1.28 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension() If you need to install this extension on these earlier versions (MediaWiki 1.28 and earlier), instead of wfLoadExtension( 'EditAccount' );, you need to use:

require_once "$IP/extensions/EditAccount/EditAccount.php";

Configuration[edit]

By default, all user groups will only have permission to close their own accounts. The user right "editaccount" will have to be set for an existing user group, e.g. "bureaucrat" or for a new user group to allow editing or closing all accounts:

$wgGroupPermissions['bureaucrat']['editaccount'] = true;
$wgGroupPermissions['editaccount']['editaccount'] = true;

Logging[edit]

Use of the special pages "CloseAccount" and "EditAccount" is logged at Special:Log/editaccnt. This log can be set to private if needed.

Example log entries
* 04:41, March 18, 2011 WikiAdmin (Talk | contribs | block) disabled account User:Example user ‎ 
* 02:11, February 17, 2011 StaffMember (Talk | contribs | block) changed password for user User:Jimbo Wales

Related extensions[edit]

  • Sudo - Allows logging into other user's accounts.
  • DisableAccount - Allows administrators to disable individual accounts.
  • UserMerge - Allows merging and deleting user accounts.