Jump to content

Manuel:fixTimestamps.php

From mediawiki.org
This page is a translated version of the page Manual:FixTimestamps.php and the translation is 100% complete.
Version de MediaWiki :
1.7

Détails

Le fichier fixTimestamps.php est un script de maintenance qui répare la corruption d'horodatages causée par une heure incorrecte temporairement sur un ou plusieurs serveurs.

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.

Options/Arguments

Argument Description Required?
offset Time offset (in hours) obligatoire
start Starting timestamp obligatoire
end Ending timestamp obligatoire

Usage

php maintenance/purgeChangedFiles.php offset start end


Terminal

See also