User:Ahecht/Scripts/watchlistcleaner

Watchlist cleaner
DescriptionRemoves missing pages and/or redirects from your watchlist.
Author(s)Ahecht
StatusStable
UpdatedMarch 31, 2024
    (3 months ago)
Skin supportAll
Source
Beta
User:Ahecht/Scripts/watchlistcleaner.js
User:Ahecht/sandbox/Scripts/watchlistcleaner.js

A userscript to remove missing pages (redlinks), redirects, pages you haven't edited recently, and/or pages you've never edited from your watchlist. The script will prompt to ask which types of pages you want to remove, and how many days of history it should look at, and whether it should skip removing any pages you created. The script can optionally store a backup of the pages it removes at Special:MyPage/Watchlist_backup, which can be used with the Special:RecentChangesLinked tool.

Installation instructions

[edit]

Hint: It's much easier if you get ScriptInstaller, then navigate to User:Ahecht/Scripts/watchlistcleaner.js and click "Install" at the top.

However, here's the manual method:

  1. Place {{subst:iusc|User:Ahecht/Scripts/watchlistcleaner.js}} on Special:MyPage/common.js or a skin-specific page, like Special:MyPage/vector.js.
  2. Clear your cache and enjoy!