Jump to content

Wikipedia:Hide Pages in Watchlist (old script method)

From Wikipedia, the free encyclopedia


The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hide Pages in Watchlist is a user script that allows you to hide certain pages from your Watchlist. For example, if you watch an article but do not want to see any of the edits made to the article's Talk page on your Watchlist, then you can hide just the Talk page without unwatching the article. Since a screenshot will not show how the script works because the script hides text instead of displaying it, you should install the script and test it by following the instructions below to best understand how this script works.

Installation and usage

[edit]

To install this script, copy the following code to your skin.js page:

WatchlistConfig = { ignorePages: [
	'Talk:Example',
	'User:Example',
	'Wikipedia talk:Example',
] };
importScript('User:Gary King/hide pages in watchlist.js');

There are three pages in the example code above (Talk:Example, User:Example, and Wikipedia talk:Example). You can remove these and add your own pages to the list, using the same format that is used in the example.

The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.