Page MenuHomePhabricator

Provide a way to highlight a given option in Preferences
Open, Needs TriagePublicFeature

Description

As someone communicating with communities, I sometimes have to redirect users to a specific checkbox or option in Preferences. This is partially doable, since some sections within a tab have an anchor to the title. However, I see two issues there:

  • you can have a lot of options within a given section. Even if you've been told which label to click on, you have to keep thin information in mind while coming to the section
  • if the option you have to click on is at the bottom of the page, then the anchor doesn't really work, since you would have all other options at the top of it.

The idea is to highlight the option you have to click on so that the two listed issues won't be an issue anymore.

Example:

Capture d’écran_2021-11-08_18-27-00.png (623×637 px, 77 KB)

Event Timeline

Aklapper changed the subtype of this task from "Task" to "Feature Request".Nov 9 2021, 1:35 PM

(For future reference, please use the feature request form (linked from the top of the task creation page) to create feature requests. Thanks!)

With T126962 having been resolved, sections can now be highlighted, which makes the selected section obvious, even if it’s at the bottom of the page:

Screenshot 2023-02-13 at 21-03-40 Preferences - Wikipédia.png (354×759 px, 43 KB)

Change 896445 had a related patch set uploaded (by Samtar; author: Samtar):

[mediawiki/core@master] special.preferences.ooui/nav.js: Allow linking to `ooui-php-` elements

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

Change 896445 abandoned by Samtar:

[mediawiki/core@master] special.preferences.ooui/nav.js: Allow linking to `ooui-php-` elements

Reason:

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