Page MenuHomePhabricator

Store client hint mapping rows for email user events
Closed, ResolvedPublic2 Estimated Story Points

Description

We currently send client hint header data when a POST request is made to email another user via Special:EmailUser. 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 emails someone via Special:EmailUser, CheckUser creates rows in cu_useragent_clienthints_map

Event Timeline

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

[mediawiki/extensions/CheckUser@master] Collect Client Hints data when emailing users

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

Change #1091726 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Collect Client Hints data when emailing users

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

Djackson-ctr subscribed.

Per the Acceptance Criteria: I used the special page EmailUser to send an email, and then I verified new rows were created in the table cu_useragent_clienthints_map.