Manuel:fixTimestamps.php

This page is a translated version of the page Manual:FixTimestamps.php and the translation is 20% 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/run.php purgeChangedFiles offset start end
Terminal
Dans la version MediaWiki 1.39.12 et antérieure, vous devez invoquer des scripts de maintenance à l'aide de php maintenance/scriptName.php au lieu de php maintenance/run.php scriptName.

See also