Page MenuHomePhabricator

Provide an option to hide temporary accounts on Special:Investigate
Closed, ResolvedPublic1 Estimated Story Points

Description

Background

On Special:Investigate, it would be helpful to be able to filter out temporary accounts from these results, for cases when the checkuser is checking for regular accounts.

More details

Since multiple targets can be entered in the initial Special:Investigate form, it may not make sense to have a checkbox there for filtering out temporary accounts, since it would be unclear what to do if the "filter out temp accounts" checkbox was checked, but one of the targets was a temporary account.

There is a filter form in the results page, however:

image.png (542×962 px, 42 KB)

It would be clearer to add a checkbox for filtering out temporary accounts here. This is because you can already add one of the named targets to this filter, and that takes precedence over their inclusion in the target list, so they will be filtered out of the "IPs & User agents" and "Timeline" results.

Acceptance criteria
  • A checkbox is added to the filters form on the results page of Special:Investigate to filter out temporary accounts from the results
  • Checking the checkbox removes any result rows for temporary accounts
  • The checkbox is unchecked by default

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change #1190242 had a related patch set uploaded (by Harroyo-wmf; author: Harroyo-wmf):

[mediawiki/extensions/CheckUser@master] investigate: Provide an option to hide temporary accounts on Special:Investigate

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

Change #1191102 had a related patch set uploaded (by Harroyo-wmf; author: Harroyo-wmf):

[mediawiki/extensions/CheckUser@master] TimelineService: Add flag for removing temp names in querires

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

Change #1191127 had a related patch set uploaded (by Harroyo-wmf; author: Harroyo-wmf):

[mediawiki/extensions/CheckUser@master] TimelineService: Add constants holding field names used on SELECT queries

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

Change #1191127 abandoned by Harroyo-wmf:

[mediawiki/extensions/CheckUser@master] TimelineService: Add constants holding field names used on SELECT queries

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

Change #1191445 had a related patch set uploaded (by Harroyo-wmf; author: Harroyo-wmf):

[mediawiki/extensions/CheckUser@master] CompareService: Add flag for removing temp names in queries

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

Change #1191102 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] TimelineService: Add flag for removing temp names in queries

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

Change #1191445 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] CompareService: Add flag for removing temp names in queries

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

Change #1190242 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] investigate: Option for hiding temp accounts on Special:Investigate

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

Djackson-ctr subscribed.

New Code Changes have been implemented and verified (Per the Acceptance Criteria)...

QA was completed for this ticket using LocalHost: Mediawiki 1.45.0-alpha (0713c73)...

Testing was performed on various: Skins, Desktop View/MobileView, Chrome/Edge/Firefox/Safari, Windows/Mac/Android/iOS, RTL languages.