This task is for tracking work to update the TemplateWizard extension ahead of IP Masking being enabled on WMF sites.
See T326816: [Epic] Update features for temporary accounts, particularly What will be affected.
This task is for tracking work to update the TemplateWizard extension ahead of IP Masking being enabled on WMF sites.
See T326816: [Epic] Update features for temporary accounts, particularly What will be affected.
Subject | Repo | Branch | Lines /- | |
---|---|---|---|---|
Do not track user ids of temporary accounts | mediawiki/extensions/TemplateWizard | master | 1 -1 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Restricted Task | |||||
Resolved | kostajh | T294511 2021 Security Team wikireplicas audit | |||
Declined | None | T284948 Raw IPs of logged-out users disclosed in wiki-replicas | |||
In Progress | Niharika | T324492 Temporary accounts - MVP | |||
Open | None | T326816 [Epic] Update features for temporary accounts | |||
Resolved | MusikAnimal | T326873 Update Community Tech-owned products that may be affected by IP Masking | |||
Resolved | Samwilson | T329775 IP Masking (CommTech): TemplateWizard |
TemplateWizard has only one place where it does something different for anonymous vs logged-in users, which is when it logs an event with EventLogging. It uses mw.user.isAnon() for this, which returns false for temp users, and so it doesn't look like any changes are required in order to confirm to IP Masking requirements.
Interestingly, TemplateData does a similar thing for tracking, but uses mw.user.getId() directly and without checking if the user is logged in — I suspect this is probably fine, because EventLogging treats an ID of 0 as anonymous anyway. So we might be able to simplify the code in TemplateWizard (but that doesn't really matter for the current task).
tl;dr: nothing to be done.
Should we close this? I haven't reviewed TemplateWizard in depth but will definitely take Sam's word for it that no changes are needed with respect to IP masking :)
Change 1002573 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):
[mediawiki/extensions/TemplateWizard@master] Do not track user ids of temporary accounts
Change 1002573 merged by jenkins-bot:
[mediawiki/extensions/TemplateWizard@master] Do not track user ids of temporary accounts