Page MenuHomePhabricator

IP masking: IP masked users cannot disable page previews
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Become an IP masked user (see T326911)
  • Hover over a page preview
  • Click the settings cog

What happens?:
You are redirected to the login page, as IP masked users are treated as registered users and IP masked users are prohibited from having preferences.

What should have happened instead?:
We should store the preference like we do for anonymous users.

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Details

Other Assignee
Jdlrobson
Related Changes in Gerrit:

Event Timeline

ovasileva triaged this task as Medium priority.May 3 2023, 5:42 PM
KSarabia-WMF set the point value for this task to 2.May 3 2023, 5:49 PM

Change 929398 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/extensions/Popups@master] IP masked users use localStorage for settings

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

Jdlrobson updated Other Assignee, added: Jdlrobson; removed: KSarabia-WMF.

Change 929398 merged by jenkins-bot:

[mediawiki/extensions/Popups@master] IP masked users use localStorage for settings

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

Jdlrobson added subscribers: Edtadros, KSarabia-WMF.

@Edtadros we can QA this and other IP masking changes together. I'll setup a patchdemo URL when we are ready to do that.