Page MenuHomePhabricator

Enhance Blocking and tagging from checkuser interface: add dropdowns
Open, MediumPublic

Description

Bugzilla author: lar

Description:

Often, there are standard block message templates that are in use (this varies by wiki) or standard block reasons in use (this also varies by wiki) all of which it would be convenient to present in a dropdown list. The list of templates could be a new MediaWiki message, similar to how MediaWiki:Licenses sets the license dropdown on Special:Upload.

For best results, since the templates often take parameters, after the selection is made, the wikitext of the template should then be editable so parameters can be included or additional text added or whatever, as now.

This dropdown enhancement request applies to all three of the fields

  • Replace user pages with:
  • Replace talk pages with:
  • Reason:

Acceptance criteria

  • In the CheckUser interface, add dropdowns in front of the following three text fields:
    • Replace user pages with:
    • Replace talk pages with:
    • Reason:
  • Default text should be "Select optional preload..."
  • When an option is selected in the dropdown, it should...
    • a) replace the contents of the text field
    • b) postpend to the contents of the text field (note: we are discussing a vs b in the comments)
  • The contents of the dropdowns should pull from three new MediaWiki: messages, which are customizable by users with the editinterface permission

Details

Reference
bz22120

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:58 PM
bzimport added a project: CheckUser.
bzimport set Reference to bz22120.
bzimport added a subscriber: Unknown Object (MLST).

I also support adding a dropdown as Larry suggested.

  • Bug 41481 has been marked as a duplicate of this bug. ***
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 27 2015, 4:58 PM
Restricted Application added a subscriber: JEumerus. · View Herald TranscriptApr 18 2016, 8:57 AM

Yep, this can become handy, specially for the block reason.

MarcoAurelio added a subscriber: MusikAnimal.

For your consideration? Thanks.

SPoore added a subscriber: SPoore.May 11 2017, 3:02 PM

The original ticket suggests we re-use MediaWiki:IPbreason-dropdown — I believe this should be a new message, as there may be use cases where the options should be different.

What do other people think?

@TBolliger I think a new message is okay too.

Huji added a subscriber: Huji.Aug 22 2017, 5:36 PM
TBolliger added a subscriber: Matanya.EditedSep 26 2017, 6:40 PM

@Matanya & @SPoore — Can we find some time to update this ticket with current screenshots and requirements?

Also to verify: just make this change for CheckUser, or also for Special:Block?

@TBolliger Hi Trevor. I'm not sure which kind of screenshots do you need. To see, ie, the block form in CU you need to get user data which is not public. Maybe you could be granted checkuser permissions on testwiki so you can gather the information yourself? (@Jalexander @jrbs) In any case, checkuser design hasn't changed that much. There are some screenshots at Commons that, albeit old, are still accurate.

@MarcoAurelio Yes, of the blocking interface. There are none on https://commons.wikimedia.org/wiki/CheckUser

I have CU permissions but don't want to run queries on production data, so we're considering spinning up a test environment for the sake of demonstration.

@TBolliger:

Screenshot of the blocking interface after using the "get users" option.

Hope that it helps but in any case I think that a test environment will give you much more information than a screenshot.

Thank you! This is perfect. Very helpful.

@MarcoAurelio @SPoore and all others interested — please review the acceptance criteria I've added. Directly edit or comment as you see fit.

As for option A vs. B — I think B is more user friendly (as no data is lost if a click is made on accident) but option A may be more desireable for productivity sake. I have no strong opinion.

Restricted Application added a subscriber: alaa. · View Herald TranscriptJan 31 2018, 12:45 AM