Page MenuHomePhabricator

Add convenience links for accessing the extension
Open, Needs TriagePublic


Author: gonosztopi

Patch to add 'merge' and 'delete' links to users

While using the extension I found it very frustrating that I had to manually type the usernames of to-be-deleted spammers. Or copy & paste, which still involved page switching back and forth.

The attached patch places 'merge' and 'delete' links to the user's contributions page and to the user tools link set, with the following restrictions:

  • links are only added if the current user has the 'usermerge' right
  • links are not added for non-mergeable users (i.e. current user, already deleted user and users in protected groups)
  • 'delete' link is only generated if $wgUserMergeEnableDelete is set to true

Following the generated links will only prefill the form fields in Special:Usermerge, so each action must still be confirmed by clicking the 'Merge' button.

Version: master
Severity: enhancement




Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:43 AM
bzimport set Reference to bz70839.
bzimport created this task.Sep 15 2014, 8:24 AM
Aklapper removed Wikinaut as the assignee of this task.Jun 18 2015, 2:08 PM
Aklapper added a subscriber: Aklapper.

[Resetting task assignee to avoid cookie-licking. Please reclaim the task when you plan to actively work on this task. Thanks!]