Page MenuHomePhabricator

Make AbuseLog search controls collapsable
Closed, ResolvedPublic

Description

The search controls on Special:AbuseLog now consumes the majority of the screen. Can an collapse control similar to the one at Special:Contributions be added to allow this to be hidden?

See also a user-script workaround: https://en.wikipedia.org/wiki/User:Enterprisey/abusefilter-hide-search

Event Timeline

DannyS712 triaged this task as Low priority.
DannyS712 removed a project: User-DannyS712.
DannyS712 subscribed.

Didn't mean to click that, sorry

Daimona subscribed.

Yes, this is a good idea, and something that I was already planning to do. The change itself is straightforward -- HTMLForm::setCollapsibleOptions is our friend. My only question is *when* should the form be collapsed? Always? Only if there's at least a non-default value? Only if a specific value is != default? And perhaps, always collapse the form if this is not the first result page?

I think these options are all very easy to implement, the only difficult thing is picking one. It doesn't have to be perfect from the beginning and we can change it later, but perhaps we could start with something that at least a bunch of people would agree on.

I would just give it the same behaviour as the "filter revisions" on the history page => collapsed

I can speak for my usage at meta, and enWS, my usual filters would be via following links, or through regular urls. I hardly use any of the options regularly through application of field data being added and hitting search.

Plus we call it a search, is it? All seems like filtering to me.

Change 596498 had a related patch set uploaded (by Daimona Eaytoy; owner: Daimona Eaytoy):
[mediawiki/extensions/AbuseFilter@master] Make the form on Special:AbuseLog collapsible

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

Change 596498 merged by jenkins-bot:
[mediawiki/extensions/AbuseFilter@master] Make the form on Special:AbuseLog collapsible

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