Page MenuHomePhabricator

Store client hint mapping rows for email user events
Open, Needs TriagePublic

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