Extension:EditAccount

From mediawiki.org
MediaWiki extensions manual
OOjs UI icon advanced-invert.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
Maintainer(s) WikiTeq team
Latest version 1.3.4 (2021-06-05)
Compatibility policy For every MediaWiki release that is a Long Term Support release there is a corresponding branch in the extension.
MediaWiki 1.35+
License GNU General Public License 2.0 or later
Download
editaccount
Translate the EditAccount extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

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]

Changing the password[edit]

Changing the password will automatically log out the user. Since the password is changed, it can prevent access to their account. This can be an alternative to disabling the user's account.

Disabling an account[edit]

Similar to the above, the user will be logged out immediately. Alongside that, the following will take effect:

  • The user's password will be scrambled, preventing them from logging in.
  • The user's email address will be removed, and the email authentication status will be also set to "not authenticated".
  • The user's real name will be set to "Account Disabled".

Note that the registration date and other preferences info will not be affected.

When viewing the contributions of a disabled user account, a note appears stating "This account has been disabled." (View example).

All account edits are automatically logged.

Installation[edit]

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.
Wikiteq - logo.png This extension is professionally maintained by the WikiTeq team.