Page MenuHomePhabricator

Indicate number of new changes in watchlist in the document title
Open, Needs TriagePublicFeature


Feature summary (what you would like to be able to do and where):
On Special:Watchlist, when "Live updates" are enabled, the number of new changes should be indicated in the document title. That is, the title should change from

Watchlist - Wikipedia


(1) Watchlist - Wikipedia

if there is 1 new change that appeared from a live update.

Benefits (why should this be implemented?):

  • Even when working on something else in another tab, the user gets to know about new changes.

This is more or less standard behaviour across the web to indicate new notifications/messages.

Event Timeline

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

Hi @SD0001, thanks for filing this! I'm moving this task for discussion.

With notifications the counter is reset whenever you open the notifications dropdown, or similar. When would the watchlist / recentchanges counter reset? With no reset it doesn't seem useful.

It would be reset when the document comes into focus – that is,

  1. If the user is in another tab, it's reset when they switch to the watchlist tab
  2. If the user is already on the watchlist tab, it's reset when they click somewhere on the page

I believe $(window).focus event captures both these scenarios.

A prototypical implementation is at

MMiller_WMF added subscribers: Trizek-WMF, MMiller_WMF.

@SD0001 -- thank you for filing this. I think it sounds like a good idea for an improvement. Our team is heads-down on our "add an image" work, and I don't think we can prioritize this idea in the near term. Since it would be a change that would affect many users, I'm tagging @Trizek-WMF -- could you comment on whether you've heard this idea or request discussed elsewhere? I would be interested to hear about whether it's been requested from multiple directions.

I remember a few disperse discussions about this, but I don't think it is a frequent request. It would be a nice to have, though.

I would advise to submit the idea to the upcoming Community Wishlist Survey, along with other real-time notifications, like T113125: Investigate using service workers to provide real-time Echo notifications in the browser (push notifications) for instance. This way, a cohesive design would be provided for a much better integration.