Manual:purgeExpiredWatchlistItems.php

Template:MW file/noslash

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