Mediawiki Extension UserMerge
		
		
		
		Jump to navigation
		Jump to search
		
| Source: | DataSource | 
|---|---|
| Language: | English | 
| Topic: | Mediawiki | 
| SubTopic: | Mediawiki Extension | 
| Last Edit By: | DochyJP | 
| LastEdit: | 2021-04-13 | 
| Document type: | Documentation | 
| Status: | Active | 
| Access: | free | 
Description
The UserMerge extension allows wiki users with the usermerge permission (Bureaucrat by default) to merge one Wiki user's account with another Wiki user's account.
The extension allows to :
- merge (refer contributions, texts, watchlists, edit count of a first account A to a second account B)
- delete the first account A after the merge (option box)
 
Limitations
- you cannot delete a user A without having merged the user A to B
- you cannot merge your own account (logged-in user) into a different user
 
Extras
- if you omit the "New User" field, then the extension auto-populates the New User as "Anonymous" (user_id 0), and ask you to confirm a merge to Anonymous. This is used for user deletion: you first empty (merge to user 0) contributions of a user A, and then delete the user A.
 - If your version of the extension complains about an empty "New User" field you can fill in "Anonymous"
 
 - the extension creates a User Merge log and logs all User Merge extension activity.[1]
 
Installation
Download and place the file(s) in a directory called UserMerge in your extensions/ folder.
Download
Download and place the file(s) in a directory called UserMerge in your extensions/ folder.
Activation
Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'UserMerge' );
Configuration
// By default nobody can use this function, enable for bureaucrat? $wgGroupPermissions['bureaucrat']['usermerge'] = true; // optional: default is array( 'sysop' ) $wgUserMergeProtectedGroups = array( 'groupname' );