Help:Hide Pages in Watchlist

Namespaces
Subject namespacesTalk namespaces
0 (Main/Article)Talk 1
2 UserUser talk 3
4 WikipediaWikipedia talk 5
6 FileFile talk 7
8 MediaWikiMediaWiki talk 9
10 TemplateTemplate talk 11
12 HelpHelp talk 13
14 CategoryCategory talk 15
100 PortalPortal talk 101
118 DraftDraft talk 119
126 MOSMOS talk 127
710 TimedTextTimedText talk 711
828 ModuleModule talk 829
1728 EventEvent talk 1729
Former namespaces
108 BookBook talk 109
442 CourseCourse talk 443
444 InstitutionInstitution talk 445
446 Education ProgramEducation Program talk 447
2300 GadgetGadget talk 2301
2302 Gadget definitionGadget definition talk 2303
2600 Topic 2601
Virtual namespaces
-1 Special
-2 Media
Current list

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

edit

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

edit

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

edit

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