Page MenuHomePhabricator

Use OOUI in SpecialCheckUserLog
Closed, ResolvedPublic

Description

The form at the top of Special:CheckUserLog should be updated to use OOUI.

What needs doing
The following changes should be made in SpecialCheckUserLog::displaySearchForm:

  • The call to HTMLForm::factory should be updated to pass in 'ooui' as the type, instead of 'table'
  • The monthyear form field should be updated to be type 'date' instead of 'info'
  • The new date field should have the label "From date (and earlier):"

The new date field will also need to submit data that is compatible with what the CheckUserLogPager expects. Either the field or the CheckUserLogPager will need to be adapted.

Event Timeline

Change 705185 had a related patch set uploaded (by Samtar; author: Samtar):

[mediawiki/extensions/CheckUser@master] CheckUser: Use OOUI in SpecialCheckUserLog

https://gerrit.wikimedia.org/r/705185

Change 705185 abandoned by Samtar:

[mediawiki/extensions/CheckUser@master] CheckUser: Use OOUI in SpecialCheckUserLog

Reason:

https://gerrit.wikimedia.org/r/705185

Change 800182 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/CheckUser@master] Use OOUI in SpecialCheckUserLog

https://gerrit.wikimedia.org/r/800182

Change 800182 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/CheckUser@master] Use OOUI in SpecialCheckUserLog

https://gerrit.wikimedia.org/r/800182

Change 800182 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Use OOUI in SpecialCheckUserLog

https://gerrit.wikimedia.org/r/800182

Hey, sorry to be the grouch, but reposting what I posted to the CU list here in case there's something that can be done:

If this a needed update on the technical side, it has to be done, but from a UI standpoint it seems like a step backwards to me.

What you used to be able to do in three keystrokes (Recent checks->Initiator->Search) has turned into 6 (Recent checks->highlight CU name->Ctrl+X->move to initiator box->Ctrl+V->Search.) Not sure if there is a way to reduce that.

This is being discussed on checkuser-l as to what is the best option to address this, but the options are (multiple could be chosen):

  • Convert the OOUI form to use radio buttons (i.e. what was there before as radio buttons but using OOUI)
  • Add links from the contributions page of CUs that show the checks performed by that CU.
  • Add links to the checks performed on and by each log entry.

I did not notice this would be an issue at the time as this is not part of my workflow when doing CU.

Tasks and commits that address some of the above ideas created since the issue was raised: