Page MenuHomePhabricator

Special:EditWatchlist: Improve message when no watched pages match filters
Closed, ResolvedPublic

Description

As part of T41510, we added more filters to Special:EditWatchlist. If you select a combination of filters which don't match any pages on your watchlist, you will see the message You have no items on your watchlist, but this is not necessarily true.

We could change this to something like There are no pages on your watchlist in this namespace or There are no pages on your watchlist matching these filters.

Found by @Samwalton9-WMF.

Details

Related Changes in Gerrit:

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change #1198523 had a related patch set uploaded (by Cparle; author: Cparle):

[mediawiki/core@master] Small updates to Special:EditWatchlist

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

Change #1198523 merged by jenkins-bot:

[mediawiki/core@master] Small updates to Special:EditWatchlist

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

If you filter for a namespace where you have no watched pages, you see You have no items in this namespace on your watchlist.

Other combinations of parameters which return no results still say You have no items on your watchlist. I am not sure if this is likely to happen in practice. For example, you can see this with the parameters offset=<namespace>|<title>&dir=prev with offset refering to the first item (alphabetically) in your watchlist. I don't know if there is a way to make this happen other than deliberately.