Page MenuHomePhabricator

No longer possible to use browser search to find blocked users in CU results
Open, MediumPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Run a get users on a blocked IP range which also contains a directly-blocked user
  • Use your browser's in-built search to search for "Blocked" or "Blocked)"

What happens?:

IP addresses which are blocked by the range show up as (Blocked - 1.2.3.4/5), Users who are blocked show up as (Blocked), and users who were previously blocked but are no longer blocked show up as (Previously blocked).

Searching the results for "Blocked" using the browser's in-built search tool finds all of the above (this is expected).

Searching the results for "Blocked)" using the browser's in-built search tool finds nothing.

What should have happened instead?:
Searching the results for "Blocked)" using the browser's in-built search tool finds all the users who are directly blocked.

I'll note that I'm not attached to the specific search term, but I would like a way of jumping through the directly-blocked users again.

Software version (skip for WMF-hosted wikis like Wikipedia):
enwiki, thus:

  • CheckUser 2.5 (c3984d5) 2022-07-25T23:19:56
  • MediaWiki 1.39.0-wmf.22 (511db43) 2022-07-25T21:41:54

Other information (browser name/version, screenshots, etc.):
Google Chrome 102.0.5005.115

This appears to have been caused by the move of the brackets into CSS pseudoelements, thus they're no longer "content" on the page which can be searched.

Event Timeline

Dreamy_Jazz subscribed.

Adding T223871 as a parent as this is the same issue but for a different purpose. Although a different fix may be found for this workflow, if there isn't something like this then it relies on the parent task being addressed. I would note that this is also the case for Special:Contributions and Special:History (where the brackets are also not searchable) for the same reason.

This method of searching, however, does seem a little hacky and might benefit from another method (such as JS script) that highlights / counts the number of blocked users? What is your general use case for searching for the blocked users? Is it to look at the specific edit's line or just find the users who are blocked? The benefit of the browser finding tool that would be harder to implement in a JS tool is the jumping to the content that is found. Unless keyboard shortcuts are used that would have a complicated UI (something that sticks to the page regardless of scroll).