Showing content from https://www.mediawiki.org/wiki/Extension:UserMerge below:
Extension:UserMerge - MediaWiki
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.
-
Features
- 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
-
Notes
- 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.
- When user is merged, some actions listed in CheckUser stay as the old user and some actions go to the new user. When user is deleted, the actions that should be listed with the old account in CheckUser are gone.
- Download and move the extracted
UserMerge
folder to your extensions/
directory.
Developers and code contributors should install the extension from Git instead, using:
cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/UserMerge
- Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'UserMerge' );
// By default nobody can use this function, enable for bureaucrat?
$wgGroupPermissions['bureaucrat']['usermerge'] = true;
// To enable for administrators add this:
$wgGroupPermissions['sysop']['usermerge'] = true;
// optional: default is [ 'sysop' ]
$wgUserMergeProtectedGroups = [ 'groupname' ];
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Vagrant installation:
- If using Vagrant , install with
vagrant roles enable usermerge --provision
- follow Installation Instructions
- a new Special Page Special:UserMerge with the title Merge and Delete Users is created
- unmergeable users can be defined (examples):
# Allow all users to be merged (by default, the 'sysop' group is unmergeable)
$wgUserMergeProtectedGroups = [];
# Disallow merging of the users in the 'sysop' or 'awesomeusers' groups
$wgUserMergeProtectedGroups = [ 'sysop', 'awesomeusers' ];
# enable the permission for sysops
$wgGroupPermissions['sysop']['usermerge'] = true;
You can use Help:RevisionDelete feature of MediaWiki to replace the UserMerge logs information with neutral information.
Active RevisionDelete in LocalSettings.php
file with:
$wgGroupPermissions['sysop']['deletelogentry'] = true;
$wgGroupPermissions['sysop']['deleterevision'] = true;
Then, from Special:Log/usermerge, you can check and disable the logs content resulting from modifications made by UserMerge with simple check box.
- hideuser right – Allows to "hide" users from various lists when indefinitely blocking them
- phab:T8397 – Flag to mark accounts locked/hidden (aka remove/delete user)
- Manual:removeUnusedAccounts.php - Maintenance script that can delete the accounts of users that have never made any edits, without merging them and without needing this extension
- Extension:UserVerification (allows to delete users with some constraints)
This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm.
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4