Manual:cleanupWatchlist.php

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.6
<translate> MediaWiki version:</translate>

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. <translate> Optional</translate>

Usage

php maintenance/cleanupWatchlist.php [ --fix ]
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