Last modified: 2014-09-15 12:59:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T72839, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70839 - Add convenience links for accessing the extension
Add convenience links for accessing the extension
Status: UNCONFIRMED
Product: MediaWiki extensions
Classification: Unclassified
UserMerge (Other open bugs)
master
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: T. Gries
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-15 08:24 UTC by Dévai Tamás
Modified: 2014-09-15 12:59 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Patch to add 'merge' and 'delete' links to users (6.73 KB, patch)
2014-09-15 08:24 UTC, Dévai Tamás
Details

Description Dévai Tamás 2014-09-15 08:24:24 UTC
Created attachment 16466 [details]
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links