Jump to content

Manual:fixTimestamps.php

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

詳細

fixTimestamps.php file is a maintenance script to fix timestamp corruption caused by one or more webservers temporarily being set to the wrong time.

The time offset must be known and consistent. Start and end times (in 14-character format) restrict the search, and must bracket the damage. There must be a majority of good timestamps in the search period.

オプション/引数

引数 説明 必須かどうか
offset Time offset (in hours) 必須
start Starting timestamp 必須
end Ending timestamp 必須

使用法

php maintenance/run.php purgeChangedFiles offset start end
Terminal
MediaWiki バージョン 1.39.16 以前では、メンテナンス スクリプトを php maintenance/run.php スクリプト名 ではなく php maintenance/スクリプト名.php を使用して実行する必要があります。

関連項目