Page MenuHomePhabricator

i18n: checkuser-api-useragent-clienthints-explanation should be project agnostic
Closed, ResolvedPublic

Description

Reading https://www.mediawiki.org/wiki/Extension:CheckUser/Client_Hints it looks like this is a feature of the chekuser extension itself not a Wikimedia-specific feature. Therefore, the wording of the message should be project agnostic (i.e. remove mentions of Wikimedia in the messages' text).

If needed, a Wikimedia-specific override can be created in WikimediaMessages with additional links to Wikimedia's privacy and access to nonpublic personal data policies.


QA Results - Local

Event Timeline

Restricted Application added a subscriber: Aklapper. ยท View Herald TranscriptSep 4 2023, 10:06 AM

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

[mediawiki/extensions/CheckUser@master] clienthints: Remove mention of Wikimedia in API explaination

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

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

[mediawiki/extensions/WikimediaMessages@master] clienthints: Create wikimedia specific message for API explaination

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

Change 954611 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] clienthints: Remove mention of Wikimedia in API explaination

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

Change 954616 merged by jenkins-bot:

[mediawiki/extensions/WikimediaMessages@master] clienthints: Create wikimedia specific message for API explanation

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

I would suggest that QA checks if the appropriate message is shown in the response to the API request, depending on whether the WikimediaMessages extension is loaded.

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

[mediawiki/extensions/WikimediaMessages@master] Fix message key in of Hooks::onMessageCacheFetchOverrides

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

@GMikesell-WMF managed to find that the WikimediaMessages extension doesn't actually load the custom message. I investigated this and found that this was an error on my part. I have fixed this in the patch just above.

Change 958553 merged by jenkins-bot:

[mediawiki/extensions/WikimediaMessages@master] Fix message key in of Hooks::onMessageCacheFetchOverrides

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

@Dreamy_Jazz Wikimediamessages responses are now appropriate when the Wikimediamessages are enabled vs disabled. I will move this to Done. Thank you for all your work!

Status: โœ… PASS
Environment: Local:1.41.0-alpha (3f6d5c7)08:56, 15 September 2023. CheckUser: 2.5 (b1e7ca2) 06:42, 18 September 2023. Wikimediamessages: (d74f676) 14:12, 18 September 2023
OS: macOS Ventura
Browser: Chrome 116
Device: MBA M2
Emulated Device:: N/A
Test Links:
http://localhost:8080/wiki/Beer

โœ…AC1: https://phabricator.wikimedia.org/T345549

Status Client HintsApi
WikimediaMessages Enabled
2023-09-18_13-57-42.png (1ร—3 px, 369 KB)
2023-09-18_13-55-27.png (529ร—3 px, 281 KB)
WikimediaMessages Disabled
2023-09-18_09-33-25.png (1ร—2 px, 302 KB)
2023-09-18_13-56-01.png (458ร—3 px, 258 KB)