Manual:purgeChangedFiles.php

From mediawiki.org
MediaWiki version:
1.22

Details[edit]

purgeChangedFiles.php file is a maintenance script to scan the logging table and to purge affected files and thumbnails within a timeframe. This script processes 100 items in a batch.

Options/Arguments[edit]

Option Description Required?
--starttime Starting timestamp Required
--endtime Ending timestamp Required
--type Comma-separated list of types of changes to send purges for (created,deleted,modified,all) Optional
--htcp-dest HTCP announcement destination (IP:port) Optional
--dry-run Do not send purge requests Optional
--sleep-per-batch Milliseconds to sleep between batches Optional
--verbose Show more output Optional

Usage[edit]

php maintenance/purgeChangedFiles.php --starttime dt1 --endtime dt2 [ --type| --htcp-dest| --dry-run| --sleep-per-batch| --verbose ]

Dry run to check purging[edit]

Terminal

Purging[edit]

Terminal

See also[edit]