Release status: stabil
|Implementation||User identity, Special page, Hook|
|Beskrivelse||Provides a special page that allows user accounts to be renamed|
|Forfatter(e)||Ævar Arnfjörð Bjarmasondiskussion|
|Latest version||continuous updates|
|Licens||GNU General Public License 2.0 or later|
|Quarterly downloads||276 (Ranked 37th)|
|Public wikis using||5,805 (Ranked 14th)|
|Translate the Renameuser extension if it is available at translatewiki.net|
|Issues||Open tasks · Report a bug|
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, already existing one, you need the User Merge and Delete extension.
- Download and place the file(s) in a directory called
- Add the following code at the bottom of your
wfLoadExtension( 'Renameuser' );
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
- Som en bureaukrat, tilgå siden
- 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.
move-subpages' userright. The number of subpages moved is not limited by the
$wgMaximumMovedPagesparameter. The extension will also move all
jsand move-protected pages.
You can grant other groups the right to rename users, for example:
$wgGroupPermissions['sysop']['renameuser'] = true;
- 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).
You should probably use CentralAuth's built-in Special:GlobalRenameUser and Special:GlobalRenameRequest/Special:GlobalRenameQueue.
- 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).
- Due to a bug, you can't rename the same account from where you're performing the rename (task T267477).
Use the command line maintenance script to do the rename, or use a different account to do the rename.
This extension introduces and invokes the RenameUserComplete hook to notify other extensions of user renames.
Ofte stillede spørgsmål
There were so many userpages that it timed out partway through moving them from User:A/subpage... to User:B/subpage... What do I do now?
- You can't fix the situation by immediately trying again to rename User A to User B, because it will simply say "The user 'User A' does not exist." To fix the situation, rename User B back to User A, after unchecking the box "Move user and talk pages (and their subpages) to new name". Then rename User A to User B again, this time leaving the box "Move user and talk pages (and their subpages) to new name" checked. The page moving will resume where it left off.
|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.|
|This extension is included in the following packages and/or wiki farms:|