Page MenuHomePhabricator

Enable navigation from watchlist to watchlist preferences
Closed, ResolvedPublic2 Estimated Story Points

Description

As a user, when I'm visiting my Special:Watchlist page it would be good to know about the existence of Special:Preferences#mw-prefsection-watchlist as these settings effect the behaviour of Special:Watchlist.

There are already several links to editing your watchlist from Special:Watchlist but there is no mention of the watchlist configuration in Special:Preferences which effect the behaviour of Special:Watchlist. For example, settings under Advanced Options control what defaults are set on Special:Watchlist and settings under Display options can stop any results from loading on Special:Watchlist at all (although this doesn't appear to be intended behaviour - see T176033).

This deeplink could be added to mw-watchlist-toollinks at the top of the page so instead of displaying:

For username (View relevant changes | View and edit watchlist | Edit raw watchlist | Clear the watchlist)

It might instead display:

For username (View relevant changes | View and edit watchlist | Edit raw watchlist | Clear the watchlist | Edit watchlist preferences)

For the discussion on what caused this enhancement request see: T176033.

Event Timeline

JTannerWMF subscribed.

This is a great idea. The team discussed this and we think that it should be part of a broader discussion about configuring preferences. We're are moving it to a column for considering it in the future.

This is a great idea. The team discussed this and we think that it should be part of a broader discussion about configuring preferences. We're are moving it to a column for considering it in the future.

@JTannerWMF Do you think it's worth adding the link (Watchlist preferences) now, to make these features more accessible? It has been a long time since your comment.

Samwalton9-WMF subscribed.

I checked in with the Growth team and it sounds like that broader rethink hasn't happened yet, and while I think it sounds worth doing (preferences for RC/Watchlist are split over a number of different locations), I don't think there's any harm with going ahead with adding this link in the short term. It can always be removed again if broader preferences work gets done.

I think the suggested solution in the task description is a reasonable one.

jsn.sherman renamed this task from Add a deeplink from Special:Watchlist to watchlist in Special:Preferences to Enable navigation from watchlist to watchlist preferences.Mar 25 2025, 6:48 PM
jsn.sherman set the point value for this task to 2.

Change #1133216 had a related patch set uploaded (by Kgraessle; author: Kgraessle):

[mediawiki/core@master] Enable navigation from watchlist to watchlist preferences

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

Ok, I got a link to

Special:Preferences

to work correctly, however when I add

Special:Preferences#mw-prefsection-watchlist

It appears this function call is stripping the #mw-prefsection-watchlist from the url.
I'm moving this to engineering review to get product and more engineering eyes on how to proceed.
Do we still think this feature will be useful if it can only link the user to Special:Preferences and not Special:Preferences#mw-prefsection-watchlist?

Do we still think this feature will be useful if it can only link the user to Special:Preferences and not Special:Preferences#mw-prefsection-watchlist?

My first reaction is yes, as the watchlist tab is not hard to find in the skins I looked at (Monobook, both Vectors, Timeless and Minerva). A direct link would obviously be preferable of course.

Kgraessle changed the task status from Open to Stalled.Apr 14 2025, 2:24 PM

Stalling this while we wait for design input.

Hi @Kgraessle!
In Codex it is recommended to use links when the user navigates to 'another page, view or section, when the user presses it’, while buttons are used for actions.
Hence, both of the buttons ‘Edit your list of watched pages’ and ‘Preferences’ could be links.

I did a quick usability test to see if shortening ‘Edit your list of watched pages’ to ‘Edit watchlist’ would be sufficient for people to understand that they can edit their list of watched pages by clicking on that button/link. The majority of participants assumed that when clicking on ‘Edit watchlist’ you’ll be able to edit/delete the watched pages.
Additionally, I wanted to see if participants would be able to navigate to watchlist preferences if there was only the ‘gear’ icon or the ‘gear’ icon + ‘preferences’ label on the page. 90% were able to find watchlist preferences from the page. 

Considering the above information, we could use icon+links instead of buttons, and shorten the other button to ‘Edit watchlist’. 


Proposed design
A.png (1,440×619 px, 163 KB)

Additional thoughts:

  • Do we need the ‘Edit your list of watched pages’ button if people can access the page from the ‘View and edit watchlist’ tab at the top of the page?
    • Wondering about renaming ‘View and edit watchlist’ to ‘Edit watchlist’ to match the title of the page?

cc: @JWheeler-WMF

Kgraessle changed the task status from Stalled to Open.May 2 2025, 6:51 PM

Hi @Kgraessle!
In Codex it is recommended to use links when the user navigates to 'another page, view or section, when the user presses it’, while buttons are used for actions.
Hence, both of the buttons ‘Edit your list of watched pages’ and ‘Preferences’ could be links.

I did a quick usability test to see if shortening ‘Edit your list of watched pages’ to ‘Edit watchlist’ would be sufficient for people to understand that they can edit their list of watched pages by clicking on that button/link. The majority of participants assumed that when clicking on ‘Edit watchlist’ you’ll be able to edit/delete the watched pages.
Additionally, I wanted to see if participants would be able to navigate to watchlist preferences if there was only the ‘gear’ icon or the ‘gear’ icon + ‘preferences’ label on the page. 90% were able to find watchlist preferences from the page. 

Considering the above information, we could use icon+links instead of buttons, and shorten the other button to ‘Edit watchlist’. 


Proposed design
A.png (1,440×619 px, 163 KB)

Additional thoughts:

  • Do we need the ‘Edit your list of watched pages’ button if people can access the page from the ‘View and edit watchlist’ tab at the top of the page?
    • Wondering about renaming ‘View and edit watchlist’ to ‘Edit watchlist’ to match the title of the page?

cc: @JWheeler-WMF

Thanks @OTichonova one more question for you- would the icons in the above example be clickable?

Kgraessle changed the task status from Open to Stalled.May 6 2025, 2:09 PM
Kgraessle changed the task status from Stalled to Open.May 15 2025, 8:08 PM

Hi @Kgraessle, yes, would that be possible?

@OTichonova
Yep!
How does this look?

Screenshot 2025-05-16 at 11.17.17 AM.png (1,015×884 px, 159 KB)

Also note, these links are only enabled when the user is using javascript.

Hi @Kgraessle, looks great!
One small thing, could you decrease the space between the two links to be 12pts?

Hi @Kgraessle, looks great!
One small thing, could you decrease the space between the two links to be 12pts?

So it's currently using responsive css styling so I don't know that we can get exactly 12, but how do you think this looks?

Screenshot 2025-05-16 at 1.38.04 PM.png (1,018×827 px, 155 KB)

Test wiki created on Patch demo by KGraessle-WMF using patch(es) linked to this task:
https://patchdemo.wmcloud.org/wikis/de670ff63e/w/

Thanks for your work on this patch. I have been playing with the patch demo you created and noticed that the spacing between Edit Watchlist and Preferences is larger on Vector 2010 and Monobook.

Screenshot 2025-05-19 at 15.07.15.png (1,498×106 px, 24 KB)

Screenshot 2025-05-19 at 15.08.47.png (1,525×85 px, 18 KB)

Should this be spaced the same way it is spaced in Vector 2022?

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

https://patchdemo.wmcloud.org/wikis/de670ff63e/w/

Test wiki created on Patch demo by KGraessle-WMF using patch(es) linked to this task:
https://patchdemo.wmcloud.org/wikis/4dedfac396/w/

Change #1133216 merged by jenkins-bot:

[mediawiki/core@master] Enable navigation from watchlist to watchlist preferences

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

I have QAed this on testwiki, and the preferences button appears to be working there. Moving this to Done and we will resolving this once it finishes going through the train.

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

https://patchdemo.wmcloud.org/wikis/4dedfac396/w/

Thanks for adding the direct Preferences link, that is helpful.
I wonder if the amount of space the new controls take up could be reduced?
I.e. IIUC, it seems we have a new duplicate link, and an empty line on wide-screens from the new Preferences link, and I hope those can both be fixed.
E.g. [screenshots with annotations]

image.png (1,235×310 px, 69 KB)

image.png (1,855×302 px, 58 KB)

Hi @Quiddity! Thank you for pointing that out. We discussed this in T395646: Align issues on watchlist page with the icons/links and concluded that those buttons should be stacked on wider screens and side-to-side on narrow screens, see: here and here. We also added more room for the buttons because in other languages, the text overflows, see my last comment on this ticket. We are trying to find a balance here between excessive whitespace on some languages and overflows in others. We can discuss this on T395646: Align issues on watchlist page with the icons/links. I'm sure @OTichonova will love to chime in there.