Wikipedia:Hide Pages in Watchlist (old script method)
Please see Wikipedia:Hide Pages in Watchlist for the current CSS method of doing this. |
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.
This script has been deprecated in favor of a new CSS method of hiding pages in the watchlist. Please note that the new method (and the deprecated script) only work when "Enhanced changes" is disabled. |
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
editTo 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.