Page MenuHomePhabricator

Add link to Special:Preferences from Special:MobileOptions for AMC users
Closed, ResolvedPublic3 Estimated Story Points

Description

As a mobile user, I want to navigate to my user preferences, so that I can customise my experience.

Users currently cannot navigate to Special:Preferences by touch in the mobile web interface. Following the implementation of our new designs, we need to add an obvious link to preferences somewhere in the mobile web interface.

We will add this link to Special:MobileOptions. A better solution overall might be to merge Preferences and MobileOptions in some way, but this has a much larger technical scope, so we will link to Preferences from MobileOptions, as the latter is shown to all users (logged in and out), whereas Preferences is only accessible to logged-in users.

This task is scoped AMC-only for testing purposes. The Special:Preferences update will be made available more widely after testing is complete.

Design

We can provide a direct link to Special:Preferences via a new section in the mobile web "Settings" page Special:MobileOptions. We can use the same styles for the title, the description, and the link as the one used in the sections above. See updated copy below image.

iPhone 8 - 235.png (1×750 px, 84 KB)

The "Send feedback" link should direct users to https://www.mediawiki.org/wiki/Moderator_Tools/Content_moderation_on_mobile_web/Preferences.

Copy (use instead of mockup text above)

  • Title: User preferences
  • Description: Change your preferences, including password, website appearance, notification settings, and more.
  • Call to action: Open preferences

Acceptance criteria

  • Logged-in users of the Minerva skin see the design above after clicking Settings in the sidebar if they have AMC enabled.
  • Logged-in users of the Minerva skin see no change in MobileOptions if they do not have AMC enabled.
  • Logged-out users of the Minerva skin see no change in MobileOptions
  • No change is made to the desktop Vector skin.

Event Timeline

Samwalton9-WMF renamed this task from Add link to Special:Preferences from Special:MobileOptions to Add link to Special:Preferences from Special:MobileOptions for AMC users.Jul 19 2022, 11:33 AM
Samwalton9-WMF updated the task description. (Show Details)

I was hoping also non-AMC users would get this important function. Why can't they? We can always use a gadget on our project to compensate, so that non-AMC users also have such a link, but that is not as good a solution, it would still exclude non-javascript users.

I was hoping also non-AMC users would get this important function. Why can't they? We can always use a gadget on our project to compensate, so that non-AMC users also have such a link, but that is not as good a solution, it would still exclude non-javascript users.

They absolutely will! This task is scoped to AMC-only while we do testing and gather feedback. Once we're happy that the page is working as intended and users are happy with it we'll enable it for all users. I don't expect this to be AMC-only for longer than a couple of months before we roll it out more widely :)

Samwalton9-WMF updated the task description. (Show Details)

Change 824777 had a related patch set uploaded (by Eigyan; author: Eigyan):

[mediawiki/extensions/MobileFrontend@master] WIP: Add link to Special:Preferences for mobile

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

Test wiki created on Patch demo by SCardenas (WMF) using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/6c3f67261b/w

Test wiki created on Patch demo by SCardenas (WMF) using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/c15f1060a8/w

Change 824777 merged by jenkins-bot:

[mediawiki/extensions/MobileFrontend@master] Add link to Special:Preferences for mobile

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

Test wiki on Patch demo by SCardenas (WMF) using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/6c3f67261b/w/

Test wiki on Patch demo by SCardenas (WMF) using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/c15f1060a8/w/