Manual:purgeChangedPages.php

This page is a translated version of the page Manual:PurgeChangedPages.php and the translation is 65% complete.
MediaWiki バージョン:
1.22

詳細

purgeChangedPages.php file is a maintenance script to send purge requests for pages edited in a date range to squid/varnish. This script can be used to recover from an HTCP message partition or other major cache layer interruption. It processes 100 items in a batch.

オプション/引数

オプション 説明 必須かどうか
--starttime 開始タイムスタンプ 必須
--endtime 終了タイムスタンプ 必須
--htcp-dest HTCP announcement destination (IP:port) 省略可能
--sleep-per-batch Milliseconds to sleep between batches 省略可能
--dry-run Do not send purge requests 省略可能
--verbose 出力をもっと表示 省略可能

使用法

php maintenance/run.php purgeChangedPages --starttime dt1 --endtime dt2 [ --htcp-dest| --sleep-per-batch| --dry-run| --verbose ]
Terminal
MediaWiki バージョン 1.39.12 以前では、メンテナンス スクリプトを php maintenance/run.php scriptName ではなく php maintenance/scriptName.php を使用して実行する必要があります。

関連項目