Manual:CleanupWatchlist.php

MediaWiki version:
1.6
Category:MediaWiki code#CleanupWatchlist.php

Details

cleanupWatchlist.php file is a maintenance script to clean up broken, unparseable titles in the watchlist.

Options

Option/Parameter Description Required
--fix Actually clean up titles; otherwise just checks for them.Optional

Usage

php maintenance/run.php cleanupWatchlist [ --fix ]
In MediaWiki version 1.39.12 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.
Terminal

It will only count the number of possible updates and output the result, without fixing the value. To clean up the watchlist, run the command with --fix.

Terminal

See also

Category:Maintenance scripts#CleanupWatchlist.php Category:User maintenance scripts
Category:Maintenance scripts Category:MediaWiki code Category:User maintenance scripts