Jump to content

Help:Hide Pages in Watchlist

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 2409:4053:19f:c132::2451:d0a5 (talk) at 15:00, 25 July 2020 (Covid19). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Hello frends Sagar We are frends we are going to very difficult time covid19

Wash your hand 20 second Please use the sanitizer for outside Use the hankey mask gumasha

Enhanced recent changes disabled

Use the following example to hide whatever page you want from your watchlist, by adding a line (on a new line) in your skin.css page file. Example:

.watchlist-4-Hide_Pages_in_Watchlist { display: none; }

hides Wikipedia:Hide Pages in Watchlist.

The "4" is the namespace of the page, which can be determined by using the table found on the right of this page. Spaces, slashes (/), apostrophes (') and some other special characters must be replaced with an underscore (_). Some characters like parentheses must just be omitted. The HTML source of the watchlist will show the required name if the page is present on the watchlist.

Another example:

.watchlist-5-Manual_of_Style_Layout { display: none; }

hides Wikipedia talk:Manual of Style/Layout.

Enhanced recent changes enabled

When using "enhanced recent changes", the code for the above examples is changed to:

.mw-changeslist-ns4-Hide_Pages_in_Watchlist { display: none; }
.mw-changeslist-ns5-Administrators_Noticeboard { display: none; }

Previous method

Note: the previous script method for doing this is now deprecated, and didn't work with "Enhanced recent changes" at all.