Extension:User Merge and Delete
From MediaWiki.org
|
Release status: stable |
|
|---|---|
| Implementation | Special page, User identity |
| Description | Merges references from one user to another user in the Wiki database - will also delete old users following merge |
| Author(s) | Tim Laqua |
| Last Version | 1.5 (2008-02-11) |
| MediaWiki | 1.11+ |
| License | No license specified |
| Download | Download snapshot |
|
check usage (experimental) |
|
User Merge and Delete extension allows Wiki users with the 'usermerge' permission (Bureaucrat by default) to merge one Wiki user's account with another Wiki user's account - deleting following merge is also supported. You may not delete a user without merging first - omitting the "New User" field will auto-populate the New User as "Anonymous", user_id 0 and ask you to confirm merge to Anonymous.
- Extension now (since 1.2) creates a User Merge log and logs all User Merge extension activity.
[edit] Installation
- Create a new folder (directory) in the following location:
wiki-install-folder/extensions/UserMerge - Download the four required files:
- Copy the four files in to the new UserMerge folder
- Add the following code to your LocalSettings.php (at the bottom)
require_once( "$IP/extensions/UserMerge/UserMerge.php" ); $wgGroupPermissions['bureaucrat']['usermerge'] = true; #optional - default is array( 'sysop' ) $wgUserMergeProtectedGroups = array( 'groupname' );
- Note the change to group-based merge protection ($wgUserMergeProtectedGroups) in v1.5, r30872.
- Note the addition of the 'usermerge' permission in 1.2 - this must be explicitly granted as shown above.
[edit] Usage
- Follow Installation Instructions
- You will have a new Restricted Special Page called Special:UserMerge with the title Merge and Delete Users.
- Defining unmergable users (Examples):
#Allow ALL users to be merged (by default, the 'sysop' group is unmergable) $wgUserMergeProtectedGroups = array();
#Disallow merging of the users in the 'sysop' or 'awesomeusers' groups $wgUserMergeUnmergeable = array( 'sysop', 'awesomeusers' );