Page MenuHomePhabricator

backfillLocalAccounts.php should fill Client Hints
Open, Needs TriagePublic

Description

Acceptance criteria:

  • When backfillLocalAccounts.php creates an account, Client Hints should be stored similar to the IP and UA

Tasks implementing the data collection for account creations:

Event Timeline

Is this something that MediaWiki-Platform-Team can do, in scope of your existing work around T378401? (Otherwise, I'm not sure when TSP would have time to get to it.)

ArielGlenn subscribed.

Is this something that MediaWiki-Platform-Team can do, in scope of your existing work around T378401? (Otherwise, I'm not sure when TSP would have time to get to it.)

We talked about this in our weekly triage and it seems like a good idea to pick this up. Can you let me know if the data is already available in the relevant tables, and which client hints specifically you are collecting? I notice that the two tasks mentioned in the description are not yet closed. Thanks!

Is this something that MediaWiki-Platform-Team can do, in scope of your existing work around T378401? (Otherwise, I'm not sure when TSP would have time to get to it.)

We talked about this in our weekly triage and it seems like a good idea to pick this up. Can you let me know if the data is already available in the relevant tables, and which client hints specifically you are collecting? I notice that the two tasks mentioned in the description are not yet closed. Thanks!

http-client-hints are collected using the following database tables provided by the CheckUser extension:

You can access the data from a local wiki using the UserAgentClientHintsLookup service which should mean you can avoid interacting with the DB and use that service. I would suggest using this service and not interacting with the DB or using a different service to interact with the DB.

It currently seems to only support local lookup of Client Hints data. It should be possible to extend this service to allow lookups on a foreign wiki, so it could be called from the maintenance script to fetch the data from the relevant wiki.