Extension:UserMerge/zh

用户合并（UserMerge）扩展允许有“usermerge”权限的wiki用户（默认为行政员）合并一个Wiki用户账户至另一个Wiki用户账户.

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)

Extras
 * 您必须先将用户A合并到B才能删除用户A
 * you cannot merge your own account (logged-in user) into a different user


 * 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.

用法

 * follow Installation Instructions
 * a new Special Page Special:UserMerge with the title Merge and Delete Users is created
 * unmergeable users can be defined (examples):

You can use RevisionDelete extension installed by default to replace the UserMerge logs information with neutral information.

Active RevisionDelete in LocalSettings.php 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.

A better approach would be with CleanMediawiki.sh script for delete massive spam user and all logs : https://github.com/ZerooCool/cleanmediawiki

已知的问题

 * See tasks in Wikimedia Phabricator.

参见

 * - Extension to block and delete users.
 * hideuser right - Allows to "hide" users from various lists when indefinitely blocking them
 * T8397 - Flag to mark accounts locked/hidden (aka remove/delete user)