MediaWiki extensions manual - list

Release status: stable

Implementation User identity, Special page, Hook
Description Provides a special page that allows user accounts to be renamed
Author(s) Ævar Arnfjörð BjarmasonTalk
Last version continuous updates
MediaWiki 1.19+; 1.11+ till 077fe7a
PHP 5.3+
Database changes<abbr/> no
License GPLv2.0+
Added rights


Hooks used


Check usage and version matrix
Bugs: list open list all report

The Renameuser extension provides a special page which allows authorized users to rename user accounts. This will cause page histories, etc. to be updated. If you want to rename an account "into" another one, you need the User Merge and Delete extension.

Download Edit

You can download the extension directly from the MediaWiki source code repository (browse code). You can get:

One of the extensions tags

Not all extensions have tags. Some extensions have tags for each release, in which case those tags have the same stability as the release. To download a tag

  • Go to the tags list
  • Click the name of the tag you want to download
  • Click "snapshot"
The latest version of one of the extensions branches

Each extension has a master branch containing the latest code (might be unstable). Extensions can have further branches as well.

  • Go to the branches list
  • Click the branch name
  • Click "snapshot"
A snapshot made during the release of a MediaWiki version.

This might be unstable and is not guaranteed to work with the associated MediaWiki version.

After you've got the code, save it into the extensions/Extension:Renameuser directory of your wiki.

If you are familiar with git and have shell access to your server, you can obtain the extension, with all its tags and branches, as follows:

cd extensions
git clone

Installation Edit

  1. Add to the end of LocalSettings.php (MW 1.17+):
    or add to the end of LocalSettings.php (<MW 1.16):
  2. Installation can now be verified through Special:Version on your wiki

Use Edit

  1. As a bureaucrat, access the Special:Renameuser page
  2. Enter the name of the user to be renamed, and the desired new name, toggle the options to move user/talk pages and their subpages and to create redirects as desired, and click OK

The user will be renamed, and (if the appropriate option was checked) the user page, user talk page and all their subpages will be moved as well.

The ability of this extension to move user subpages does not depend on 'move-subpages' userright. The number of subpages moved is not limited by the $wgMaximumMovedPages parameter. The extension will also move all css, js and move-protected pages.

You can grant other groups the right to rename users, for example:

$wgGroupPermissions['sysop']['renameuser'] = true;

Note Note:

  • In case CentralAuth is installed, you'll get a warning if you try to rename a local user from an account attached to a global account or to a username reserved by a global account; a check box to rename anyway will be provided (this requires caution). At the moment, global account renames must be accomplished by local renames on all attached wikis, possibly followed by an account remerge.
  • You will not be able to rename users to invalid usernames (which doesn't equal usernames which match a blacklist but includes for instance reserved usernames).

RenameUserComplete hook Edit

This extension introduces and invokes the RenameUserComplete hook to notify other extensions of user renames.

Language: English