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.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Assign a class to list elements to indicate user type | mediawiki/extensions/CheckUser | master | +5 -1 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T311354 Make CheckUser results easier to parse by userscripts | |||
Open | None | T279743 Assign a class to LI elements in Get Users to distinguish anonymous and registered users |
Event Timeline
Comment Actions
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
Comment Actions
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.