Manual:purgeExpiredWatchlistItems.php
Jump to navigation
Jump to search
MediaWiki file: purgeExpiredWatchlistItems.php | |
---|---|
Location: | /maintenance/ |
Source code: | master • 1.35.1 • 1.31.12 |
Classes: | Find code • Find documentation |
MediaWiki version: | ≥ 1.35 |
purgeExpiredWatchlistItems.php is a maintenance script used to delete expired rows from the watchlist and watchlist_expiry database tables.
It doesn't have any of its own parameters, and the most useful of the generic parameters is probably --batch-size
, which determines how many rows will be deleted on each run (defaults to 500).
For complete usage details, run: php maintenance/purgeExpiredWatchlistItems.php --help
An error is thrown if $wgWatchlistExpiry is not true.