Content deleted Content added
Undid revision 833593133 by BU Rob13 (talk) - there is still an ACTUAL RFA running, feel free to hide when ONLY jokes Tag: Undo |
Cyberpower678 (talk | contribs) Auto-hide logic |
||
Line 1: | Line 1: | ||
<ul id="watchlist-message"> |
<ul id="watchlist-message"> |
||
<!-- Auto-hide watchlist notice on April fools --> |
|||
{{#ifexpr:{{CURRENTMONTH}}*31+{{CURRENTDAY}}=125| | {{RfA watchlist notice|format=watchlist|cookie=338}} }} |
|||
<!-- when creating a message, copy the blank below, and increment the cookie in the blank --> |
<!-- when creating a message, copy the blank below, and increment the cookie in the blank --> |
||
<!--{{Display/watchlist |
<!--{{Display/watchlist |
Revision as of 14:30, 1 April 2018
Documentation[view] [edit] [history] [purge]
These messages are known as Watchlist notices.
Technical details
This page is transcluded via MediaWiki:Watchlist-summary to the top of Special:Watchlist, where this gadget selectively shows it to editors. The list itself is also used as an anchor point for Geonotices to insert themselves into the HTML. The specific watchlist notices that the user has dismissed are stored in the browser's local storage, in a variable named hidewatchlistmessages
.
Adding messages
- Please discuss before adding.
- When adding a new message (rather than just correcting or updating one), please increment the number at |cookie= of {{Display/watchlist}} in order to rename and invalidate the previous dismiss cookies.
- Even when there are no messages to show, don't remove the
<ul>...</ul>
elements.