Page MenuHomePhabricator

Assign a class to LI elements in Get Users to distinguish anonymous and registered users
Open, MediumPublic

Description

The <li> tag generated in the unordered list (<ul>) of the Get Users and Get Edits results is a bare tag right now, without any classes. If we assign a class to it such as <li class="anonymous-user"> or <li class="registered-user"> that would indicate whether this item in the Get User result is an anonymous or a registered user, CSS/JS then can be used to augment or filter the results.

Event Timeline

Huji updated the task description. (Show Details)

Change 682783 had a related patch set uploaded (by Huji; author: Huji):

[mediawiki/extensions/CheckUser@master] Assign a class to list elements to indicate user type

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

Change 682783 abandoned by Dreamy Jazz:

[mediawiki/extensions/CheckUser@master] Assign a class to list elements to indicate user type

Reason:

T311340 has been implemented which makes this approach no longer work. In certain situations the IP being used could be changed by the hook and there is no checks to ensure that the IP being used is the same as cuc_ip.

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