Page MenuHomePhabricator

Store client hint mapping rows for password reset events
Closed, ResolvedPublic1 Estimated Story Points

Description

We currently send client hint header data when a POST request is made to reset a password on Special:PasswordReset. 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 resets a password on Special:PasswordReset, CheckUser creates rows in cu_useragent_clienthints_map

Event Timeline

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

[mediawiki/extensions/CheckUser@master] Collect client hints data when using Special:PasswordReset

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

Change #1091751 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Collect client hints data when using Special:PasswordReset

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

Djackson-ctr subscribed.

Per the Acceptance Criteria: I reset a user's password using Special:PasswordReset, and then I verified new rows were created in table cu_useragent_clienthints_map.