Help:Hide Pages in Watchlist

From Wikipedia, the free encyclopedia
Subject namespaces Talk namespaces
0 (Main/Article) Talk 1
2 User User talk 3
4 Wikipedia Wikipedia talk 5
6 File File talk 7
8 MediaWiki MediaWiki talk 9
10 Template Template talk 11
12 Help Help talk 13
14 Category Category talk 15
100 Portal Portal talk 101
108 Book Book talk 109
118 Draft Draft talk 119
446 Education Program Education Program talk 447
710 TimedText TimedText talk 711
828 Module Module talk 829
2300 Gadget Gadget talk 2301
2302 Gadget definition Gadget definition talk 2303
-1 Special
-2 Media

It is possible to Hide Pages in Your Watchlist using CSS. To hide a page, go to your skin.css page. The CSS code required is different depending on whether you have the "Enhanced recent changes" option selected in your preferences.

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 and slashes (/) in the page name must be replaced with an underscore (_).

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.

Retrieved from ""
This content was retrieved from Wikipedia :
This page is based on the copyrighted Wikipedia article "Help:Hide Pages in Watchlist"; it is used under the Creative Commons Attribution-ShareAlike 3.0 Unported License (CC-BY-SA). You may redistribute it, verbatim or modified, providing that you comply with the terms of the CC-BY-SA