Page MenuHomePhabricator

Store client hint mapping rows for user account creation events
Closed, ResolvedPublic

Description

We currently send client hint header data when a POST request is made to create an account. We need to modify CheckUser to record these headers as client hint mapping rows.

Note that while working on this, we might decide that it's easier to use the JavaScript API for client hints.

Acceptance criteria:

  • When a user creates an account, CheckUser creates rows in cu_useragent_clienthints_map

Event Timeline

Change #1091626 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/CheckUser@master] (WIP) client hints: Enable collection on user account creation

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

Change #1091626 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] client hints: Enable collection on user account creation

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

dom_walden subscribed.

I see rows being added to the cu_useragent_clienthints[_map] tables when creating an account via Special:CreateAccount.

kostajh updated the task description. (Show Details)