Help talk:Hide Pages in Watchlist

How to indicate to the user that a page is hidden from view?
I think the script should indicate that pages are hidden from the watchlist when that is the case. What do you think is the best way to do that? I don't want to make it too attention-grabbing; just like, a line or something to show that a page is hidden. Or perhaps a notice at the top of the watchlist listing all the pages that the user has chosen to ignore? The problem is that eventually people will forget that they are ignoring a page and then later wonder why that page isn't appearing on their watchlist. Gary King ( talk ) 22:09, 21 March 2009 (UTC)
 * I like the idea of the watchlist notice. I don't know if this is possible, but you could insert a statement after "You have ## pages on your watchlist (excluding talk pages)." Dabomb87 (talk) 22:14, 21 March 2009 (UTC)

Browser support
This doesn't seem to work in IE 7. With no other scripts running and default preferences, I get the error Line: 30 Char: 36 Error: Expected identifier, string or number Code: 0 URL: 
 * Algebraist 22:15, 21 March 2009 (UTC)

I tried to Hide User:Closedmouth and Wikipedia talk:Protection Policy, but it didn't work on Mozilla Firefox. I tried clearing the cache, but it didn't hide the pages. Keyboard mouse (talk) 04:57, 25 February 2010 (UTC)
 * Are you using Enhanced changes, where pages in your watchlist have an arrow next to them to expand edits made to those pages? Gary King  ( talk ) 05:25, 25 February 2010 (UTC)

User:Ais523/watchlistnotifier.js
How come does this javascript not affect the watchlistnotifier? -- Menti  fisto  21:13, 6 May 2009 (UTC)
 * It's not really a surprise that this script doesn't work with that one. At the moment, there are no plans to make them compatible. Gary King  ( talk ) 02:48, 7 May 2009 (UTC)

basic configuration- what's wrong?
Why doesn't the above work? Yes, I've refreshed :-) tedder (talk) 01:42, 7 May 2009 (UTC)
 * The script only works when Enhanced Changes is disabled (it is disabled by default) and it has only been tested in Firefox, although it should work in IE. Gary King  ( talk ) 02:49, 7 May 2009 (UTC)
 * This is firefox, and I don't even know how to turn on enhanced changes. Is there a way I can debug it? Does Twinkle interfere with it? tedder (talk) 02:54, 7 May 2009 (UTC)
 * No, it works with Twinkle and Friendly. Gary King  ( talk ) 03:44, 7 May 2009 (UTC)

Same thing is happening to me, Firefox 3.0.10, with enhanced changes disabled. I have disabled Greasemonkey and none of my other extensions could interfere. ··gracefool&#9786; 12:47, 11 May 2009 (UTC)
 * This is probably irrelevant, but in IE6 it was necessary to omit the comma after the ']' to make it work. Just a tiny chance I suppose that it might be the same bug in FF 3.0.10.--Kotniski (talk) 13:13, 11 May 2009 (UTC)
 * My best bet is for both User:Tedder and User:Gracefool to remove the final comma; so instead of, it would be , and instead of , it would be . That worked for me. Gary King  ( talk ) 18:33, 11 May 2009 (UTC)

(deindenting) I removed the final comma, and even the other redundant comma. So here's my current setup:

It still doesn't work for me. tedder (talk) 16:23, 15 May 2009 (UTC)


 * This should fix it for you. I played around with the code, and for some reason, discovered that when I deleted the word "adminship" then typed it out by hand again, it worked. In the diff I linked to, both edits look the same, but for some reason MediaWiki considers them to be different words. That's most likely what was causing the problem, because after I typed out the word by hand, the script worked again. Gary King  ( talk ) 16:33, 15 May 2009 (UTC)

New MediaWiki function
A few weeks ago, I committed a change to MediaWiki that would give each entry on your watchlist a unique CSS class. Now that the site's been updated, pages can be edited by editing your monobook.css file, as follows.

Wikipedia talk:Hide Pages in Watchlist is watchlisted, but you don't want to show Hide Pages in Watchlist:

watchlist-4-Hide_Pages_in_Watchlist { display:none; }

Now we don't have to use JS hacks anymore. What do you think? ( X! ·  talk )  · @501  · 11:01, 15 June 2009 (UTC)
 * Sounds great, thanks!!--Kotniski (talk) 11:36, 15 June 2009 (UTC)
 * How would it know the namespace? Dabomb87 (talk) 14:26, 15 June 2009 (UTC)
 * The number represents the namespace (0 is article space, 1 is article talk, 2 is User, 3 is user talk, 4 is Wikipedia, and 5 is Wikipedia talk). The rest can be found on Namespace. -- auburn pilot  talk  14:46, 15 June 2009 (UTC)
 * It doesn't seem to be working for me. I edited User:Dank/monobook.css based on the above example, applying it to WT:RFA and watchlisted the page, but WP:RFA is still showing up in my watchlist. - Dank (push to talk) 14:48, 15 June 2009 (UTC)
 * Dabomb87 (talk) 15:04, 15 June 2009 (UTC)
 * Well, I believe I copied the above code right, substituting Requests_for_adminship, and then purged; check out the link and see. Why is WP:RFA still showing up in my watchlist?  Should I blank my monobook.js file for testing? - Dank (push to talk) 15:19, 15 June 2009 (UTC)
 * Did you mean bypass? Purging and bypassing your cache are different actions. Dabomb87 (talk) 15:23, 15 June 2009 (UTC)
 * I mean ctrl-shift-R or ctrl-F5 in Firefox. - Dank (push to talk) 15:33, 15 June 2009 (UTC)

(outdent) Heh, scratch that. It's not working for me either. Dabomb87 (talk) 16:16, 15 June 2009 (UTC)
 * Okay, I'll comment it out until it gets fixed. - Dank (push to talk) 17:33, 15 June 2009 (UTC)
 * OOps, it's display:none; not display.none; ( X! ·  talk )  · @796  · 18:06, 15 June 2009 (UTC)
 * Thanks. watchlist-4-etc. is now working to hide WP:RFA from my watchlist, but what I was really hoping for was showing WP:RFA and hiding WT:RFA, and watchlist-5-etc. doesn't work for me doing that.  It's not urgent; I'll come back in a couple of weeks to see how it's coming. - Dank (push to talk) 19:15, 15 June 2009 (UTC)

CSS version?
Is anyone using the CSS version that replaces this script? My first shot didn't get it working, it'd be nice to see some examples and full CSS files. tedder (talk) 02:17, 15 January 2010 (UTC)
 * ..and here's an example of what I'm trying to use:
 * Thanks, tedder (talk) 02:22, 15 January 2010 (UTC)
 * Thanks, tedder (talk) 02:22, 15 January 2010 (UTC)


 * This worked for me. You have to bypass your browser's cache to make it work. Also, it doesn't work with Enhanced changes enabled. Gary King  ( talk ) 04:21, 15 January 2010 (UTC)


 * Got it. I wasn't reloading the cache on the css page, just on the watchlist page. FYI for posterity, my css: User:Tedder/monobook.css. tedder (talk) 04:49, 15 January 2010 (UTC)

Hiding More Than 3 Pages in the Watchlist
Is there a way to make more than 3 CSS codes be active at once (to hide more than 3 pages in your watchlist at once)? Keyboard mouse (talk) 19:49, 17 April 2010 (UTC)
 * Just keep adding CSS lines. There is no limit. Check your syntax, as you probably added an entry incorrectly. Gary King  ( talk ) 23:08, 17 April 2010 (UTC)

.css and .js pages
In your preferences, under the "Appearance" tab there are many skins. Is the correct page monobook.css, regardless of what skin you have, or is it the .css page for that specific skin? Keyboard mouse (talk) 00:14, 24 April 2010 (UTC)
 * monobook.css is only for the Monobook skin. There are links to the correct .css page in the Appearance tab. Gary King  ( talk ) 00:24, 24 April 2010 (UTC)
 * This page should go to the correct link to your skin's .css page. Add your code there. — mc10 ( t / c ) 23:51, 11 December 2010 (UTC)

Hiding pages with / in them
I have Manual of Style/Linking on my list, but it still shows up in my watchlist. I assume this is because of the / in the title, as this particular page shows up a different colour on my .css page. Is there a way around this? Lachlanusername (talk) 08:38, 20 September 2011 (UTC)


 * Similar to the other items in your CSS page, you simply replace the / with an underscore _. So it would be .watchlist-5-Manual_of_Style_Linking . Gary King  ( talk  ·  scripts )  18:54, 20 September 2011 (UTC)


 * It's gone the same colour as the others now, but still shows up in my watchlist. :S Lachlanusername (talk) 04:01, 21 September 2011 (UTC)


 * Because you're using a lowercase "l". It should be "Linking". Gary King  ( talk  ·  scripts )  05:13, 23 September 2011 (UTC)

Make hide filter earlier
Currently, if you click the "Hide bots" link, it simply filters the output of the search after it has queried the last edit of each page in the watchlist and sorted it. What would be more useful (I believe) is to filter the bot edits as part of the query so that the last non-bot-edit will show up in the results. For example, page XYZ's edit history is: If I view my watchlist, the 11:23 edit appears. If I click the "Hide bots" link, page XYZ disappears from the watchlist completely. It would be more useful if it, instead, displayed the 10:12 edit. As it stands now, I can't use the "hide bots" function, and have to click on the history for each page in the watchlist, even if shown as a bot edit, to make sure there wasn't a human edit before it that I haven't seen.
 * 11:23 by MotherOfAllBots
 * 10:12 by AHumanUser

BTW, why doesn't the history page show the "bot" flag? —&#91; Alan M 1  (talk) &#93;— 01:10, 21 August 2012 (UTC)

skin.css and vector.css
The instructions state that you should "go to your skin.css page", but when I click that link I am actually taken to my vector.css page. Was the page renamed? If so, maybe the references to skin.css should be replaced by references to vector.css. Thanks, --Viennese Waltz 12:41, 11 July 2014 (UTC)
 * No, it means .css where you should replace with whatever the name of the skin you are currently using. In most cases nowadays this will be vector as that is now the default.  Older users may be using something else, you can set it in your preferences.  You can also put css code in User:Viennese Waltz/common.css which will result in it being applied to all skins.  This is useful if you switch skins, or might do so in the future. SpinningSpark 12:57, 11 July 2014 (UTC)
 * Ah got it, thanks. --Viennese Waltz 13:14, 11 July 2014 (UTC)

Hiding a whole namespace excluding the namespace's subpages
Is there a way to hide a whole namespace excluding the namespace's subpages? I want to hide all edits made to the User namespace (e.g. ) but still show all edits made to the namespace's subpages (e.g.  ). 85.76.16.175 (talk) 16:08, 25 September 2020 (UTC)


 * I'd like to hide most talk pages except specific articles. I ended up watching 100+ articles for many subjects of interest, but don't edit most (so talk is overload): only am interested in actual article updates.--dchmelik (t|c) 10:52, 13 August 2022 (UTC)