Page MenuHomePhabricator

Enable the Watchlist Messages gadget in Wikidata
Closed, ResolvedPublic

Description

Some other Wikimedia sites have a gadget which makes it possible to display dynamic watchlist messages (above the actual content of the watchlist).

Wikidata currently displays a static content there, which is updated mostly manually by admins. This content is often stale, takes a lot of space on small screens, and users have no simple way to hide it once they have read it.

Enwiki has two gadgets (watchlist messages and geonotices) which adds a button enabling users to dismiss messages displayed there. Commonswiki has one gadget (called WatchlistMessages) which merges the functionality of both gadgets into one gadget (which allows the community to advertise particular events to a very narrow geographical audience). Other wikis probably have similar gadgets.

The template used by enwiki's gadget already exists in Wikidata but is not functional without the gadget (the dismiss button will not appear, even if the message is rendered in the watchlist).

Therefore I request the activation of such a gadget (probably the one from commons as it looks more advanced) in Wikidata. After a trial period we probably want to consider enabling it by default given that the code is already well tested in sister projects (where it is also enabled by default).

The move was discussed on wiki:

This move requires both the activation of one of these gadgets and also changes in the messages themselves. The migration to the relevant templates can be done first: although users will not be able to dismiss the messages, they will still expire by themselves after a set delay.

Event Timeline

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

Is this something the development team needs to do anything about? Gadgets can be added by admins or is there something special about this one?

Oh can they? Sorry I had no idea! Thanks, I will try to enable it myself.

I have pinged a few interface admins on wiki to enable this.

Lectrician1 claimed this task.
Lectrician1 subscribed.

This is now done, but it's probably not the best solution. After someone dismisses the message, they cannot re-enable it without requiring that they delete the cookie created. The Watchlist summary also still breifly shows shows every time the page is loaded which creates a large layout shift. Honestly, I don't think we should force the user to see this in the first place. They can learn of the resources through other means and should not be subject to seeing it each time. For this reason, I've created an RFC to delete the watchlist summary altogether on Wikidata: https://www.wikidata.org/wiki/Wikidata:Requests_for_comment/Remove_watchlist_summary