Wikipedia:Hide_Pages_in_Watchlist_(old_script_method)

Wikipedia:Hide Pages in Watchlist (old script method)

Wikipedia:Hide Pages in Watchlist (old script method)



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

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 (<nowiki>Talk:Example</nowiki>, <nowiki>User:Example</nowiki>, and <nowiki>Wikipedia talk:Example</nowiki>). 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.

Share this article:

This article uses material from the Wikipedia article Wikipedia:Hide_Pages_in_Watchlist_(old_script_method), and is written by contributors. Text is available under a CC BY-SA 4.0 International License; additional terms may apply. Images, videos and audio are available under their respective licenses.