Page MenuHomePhabricator

Display client hint data in Special:CheckUser's CheckUser helper table
Closed, ResolvedPublic

Description

Background information

Client hint data once collected should be displayed in Special:CheckUser. This data should be displayed in 'Get edits' and 'Get users' in the checkUserHelper table (checkUserHelper.js). An example of this table is shown below:

image.png (606×1 px, 186 KB)

Design

The designs for the display of Client Hints data in this table were made in T345764: Design UI for displaying client hint data and the relevant design is shown below for reference:

Screenshot 2023-10-22 140728.png (697×1 px, 90 KB)

Acceptance criteria
  • Have Client Hints data be shown in the summary table in Special:CheckUser 'Get edits' and 'Get users'
  • Ensure this design is consistent with the designs made for this
  • Ensure the new design and display only occurs when Client Hints display is enabled.

QA Results - Local

Event Timeline

Dreamy_Jazz renamed this task from Display client hint data in Special:CheckUser to Display client hint data in Special:CheckUser's CheckUser helper table.Jul 3 2023, 1:53 PM
Dreamy_Jazz created this task.
Dreamy_Jazz attached a referenced file: F37088501: image.png. (Show Details)
Dreamy_Jazz updated the task description. (Show Details)

Change 964028 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/CheckUser@master] [WIP] clienthints: Display data in Special:CheckUser summary table

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

Further design work is being carried out to determine how to display the number of times the User-Agent and Client Hints are present in the results list. Therefore progress on this is halted until that point.

Change 964028 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] clienthints: Display data in Special:CheckUser summary table

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

@Dreamy_Jazz Client Hint information is now shown in Special:CheckUser. I do have a couple of questions as seen below, before I move this to Done.

Status: ✅PASS
Environment: Local: 1.42.0-alpha (7637518) 20:02, 30 October 2023. CheckUser: 2.5 (84f2a55) 16:41, 30 October 2023
OS: macOS Sonoma 14.0
Browser: Chrome 117, Firefox 118, Safari 17.0
Skins. Vector 2022, 2010, Minerva, Monobook, Timeless
Device: MBA M2
Emulated Device:: n/a
Test Links:
http://localhost:8080/wiki/Special:CheckUser

✅AC1: https://phabricator.wikimedia.org/T340990

Old PatchLatest Patch- ChromeFirefoxSafariSkins (Timeless)
2023-10-30_13-22-19.png (1×3 px, 481 KB)
2023-10-30_13-35-58.png (1×3 px, 548 KB)
2023-10-30_13-27-56.png (1×2 px, 324 KB)
2023-10-30_13-32-05.png (1×2 px, 318 KB)
2023-10-30_13-48-26.png (1×2 px, 370 KB)

Questions

  1. What is the Brand that is highlighted? Is this fine? Also, the order when compared to the design from the description is ok, right?

2023-10-30_13-35-58.png (1×3 px, 548 KB)

  1. When the IP address is XFF, is it supposed to have the Client Hints section empty?

2023-10-30_13-41-27.png (1×3 px, 373 KB)

Questions

  1. What is the Brand that is highlighted? Is this fine? Also, the order when compared to the design from the description is ok, right?

2023-10-30_13-35-58.png (1×3 px, 548 KB)

This is called "grease data" and is added by browsers to reduce the ability for Client Hints data to be used for fingerprinting. Filtering this out automatically will be difficult as it's designed to be not filterable out.

  1. When the IP address is XFF, is it supposed to have the Client Hints section empty?

2023-10-30_13-41-27.png (1×3 px, 373 KB)

The Client Hints data section shouldn't be empty for an XFF IP. Also to search by XFF IP, you need to add /xff at the end of the IP. That image shows results for users on that IP.

@Dreamy_Jazz Ok once I did an edit, the Client hints data was collected. We are good to go now. I will move this to Done. Thank you for all your work!

2023-10-30_16-45-02.png (1×3 px, 332 KB)

2023-10-30_16-50-53.png (1×3 px, 474 KB)