Manual:purgeChangedFiles.php

From mediawiki.org
This page is a translated version of the page Manual:PurgeChangedFiles.php and the translation is 67% complete.
MediaWiki バージョン:
1.22

詳細

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

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

Usage

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

Dry run to check purging

Terminal

Purging

Terminal

See also