Last modified: 2011-01-25 01:42:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 12808 - Blocking and tagging from checkuser interface
Blocking and tagging from checkuser interface
Product: MediaWiki extensions
Classification: Unclassified
CheckUser (Other open bugs)
All All
: Normal enhancement with 4 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: 22119 22120
  Show dependency treegraph
Reported: 2008-01-27 01:50 UTC by Mark Pellegrini
Modified: 2011-01-25 01:42 UTC (History)
2 users (show)

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


Description Mark Pellegrini 2008-01-27 01:50:59 UTC
It's not uncommon to run checkuser on a prolific sockpuppeteer and find lots and lots of sockpuppets of some given user. The process of tagging these users' pages with a sockpuppet tag and blocking them can be very, very time consuming. (For an example of the tag, see I'd like a way to tag-and-block large numbers of users directly from the checkuser results screen. 

Each user listed on a checkuser results page should be listed with a checkbox next to his name, which the checkuser can then check. The person running checkuser would also add a string (a sockpuppet tag to be used to overwrite all checked users' pages) and a block duration/type (should almost always indefinite) 

Note that this feature should also work in conjunction with bug 9858 - a feature request for recursive checkuser.
Comment 1 Mike.lifeguard 2008-04-07 23:29:06 UTC
I don't see how tagging would work beyond a single wiki. That would require a single template to always be used, or a MediaWiki message. I don't think either is practical, but perhaps an output option could be provided like &type=text which would return a .txt file suitable for input into AWB as a workaround.

Blocking from the CU interface is probably doable - already-blocked users are marked, so a link to Special:BlockIP/Whatever could be put there instead. Ideally, there'd be some way to specify block settings, and the url would have the appropriate parameters. Perhaps the holy grail would be a single form for settings, and checkboxes to batch-block with the same settings.
Comment 2 Mark Pellegrini 2008-04-08 01:20:31 UTC
It would be nice if tagging and blocking worked across multiple wikis. But most vandals target one project and stick to it, so it's not an urgently needed feature. 

Regardless, here's how I envision it. When I run checkuser on an IP address or range, next to each user that pops up, there's a "block and tag" checkbox. The form also contains a blank text field, block duration/type fields, and a 'Commit' button. I enter "{{sockpuppet|BadVandal}}" or something like that in the text field, check all the users I want blocked, set a block duration and type, and click commit. All the users are then blocked  indefinitely (and the block summary is the text field), all IPs they have used are blocked (depending on what was specified, either logged-in or anon-only, with or without account creation) for the specified length of type, their user pages get tagged with the text field, and the IP address user pages they've used get tagged with the text field.  

So, for example, let's say I checkuser on IP address It shows one entry from user:JoeShmow (perhaps from his account registration). I click the "Block and tag" checkbox next to his username, enter "{{sockpuppet|Badvandal}}" in the text field, set the block duration at one week, the block type as both-anons-and-logged-in-users/no-account-creation and click 'Commit'. What should happen is:
* [[user:JoeShmow]] is created or replaced with {{sockpuppet|Badvandal}}
* [[user:]] is created or replaced with {{sockpuppet|Badvandal}}
* user:JoeShmow is blocked indefinitely with block summary {{sockpuppet|Badvandal}}
* IP address is blocked, for both anons and logged in users and no account creation, for one week with block summary {{sockpuppet|Badvandal}}
Comment 3 Mark Pellegrini 2008-07-30 05:07:19 UTC
This is something that really needs to be done - the checkuser interface is in dire need of improvement. I'm increasing the priority. 
Comment 4 Mike.lifeguard 2008-07-30 10:48:06 UTC
With respect to comment 1 (mine) - I just meant there'd have to be a MediaWiki page specifying which template to use (or perhaps specifying an array which you are then given a dropdown to choose from) - not impossible, just something to remember if this gets coded.
Comment 5 Aaron Schulz 2008-08-13 08:50:28 UTC
Made a simple form with a reason/tag input to block sensibly at my test wiki. Will commit after testing and tweaking.
Comment 6 Aaron Schulz 2008-08-13 17:03:21 UTC
Done in r39299. May add specific block options later.

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