Manual:Rebuildrecentchanges.php/fr: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
Updating to match new version of source page |
||
| (18 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
<languages /> |
<languages /> |
||
{{MW 1.2|and after}} |
|||
{{MW file|rebuildrecentchanges.php|maintenance/|class1=RebuildRecentchanges}} |
{{MW file|rebuildrecentchanges.php|maintenance/|class1=RebuildRecentchanges}} |
||
<span id="Details"></span> |
|||
== Détails == |
== Détails == |
||
Le fichier '''rebuildrecentchanges.php''' est un [[Special:MyLanguage/Manual:Maintenance scripts|script de maintenance]] permettant de reconstruire les modifications récentes en partant de rien. |
Le fichier '''rebuildrecentchanges.php''' est un [[Special:MyLanguage/Manual:Maintenance scripts|script de maintenance]] permettant de reconstruire les modifications récentes en partant de rien. |
||
<span id="Options/Arguments"></span> |
|||
== Options et arguments == |
|||
{| class="wikitable" style="width: 75%; border:1px solid #338800" |
|||
|- |
|||
! width="15%" | Option || Description !! Nécessaire ? |
|||
|- |
|||
| --from || Ne reconstruire que les colonnes dans la période demandée (dans le format AAAAMMJJHHMMSS) || {{Optional}} |
|||
|- |
|||
| --to || Ne reconstruire que les colonnes dans la période demandée (dans le format AAAAMMJJHHMMSS) || {{Optional}} |
|||
|- |
|||
| --wiki || Pour sélectionner un wiki lorsque l'installation a été faite pour une [[Special:MyLanguage/wiki family|famille de wikis]] || {{Optional}} |
|||
|} |
|||
<span id="Usage"></span> |
|||
== Utilisation == |
== Utilisation == |
||
| ⚫ | |||
php maintenance/run.php rebuildrecentchanges [ --from| --to | --wiki] |
|||
</syntaxhighlight> |
|||
{{terminal|text= |
|||
$ php maintenance/run.php rebuildrecentchanges |
|||
Rebuilding $wgRCMaxAge=7776000 seconds (90 days) |
|||
Clearing recentchanges table for time range... |
|||
Loading from page and revision tables... |
|||
Inserting from page and revision tables... |
|||
Updating links and size differences... |
|||
Loading from user and logging tables... |
|||
Flagging bot account edits... |
|||
Flagging auto-patrolled edits... |
|||
Removing duplicate revision and logging entries... |
|||
Deleting feed timestamps. |
|||
Done. |
|||
}} |
|||
{{Note |
|||
|1=L'exécution de ce script marquera toutes les {{ll|Help:Patrolled edits|éditions vérifiées}} comme étant non vérifiées. |
|||
|2=gotcha |
|||
}} |
|||
{{Maintenance script legacy}} |
|||
<span id="See_also"></span> |
|||
| ⚫ | |||
== Voir aussi == |
|||
php maintenance/rebuildrecentchanges.php |
|||
* {{ll|Manual:rebuildall.php|Rebuildall.php}} |
|||
</pre> |
|||
* {{ll|Manual:RefreshLinks.php|RefreshLinks.php}} |
|||
* {{ll|Manual:Rebuildtextindex.php|Rebuildtextindex.php}} |
|||
[[Category:Maintenance scripts{{#translation:}}|Rebuildrecentchanges.php]] |
[[Category:Maintenance scripts{{#translation:}}|Rebuildrecentchanges.php]] |
||
[[Category:Content maintenance scripts{{#translation:}}]] |
|||
Latest revision as of 21:21, 27 September 2025
| Version de MediaWiki : | ≥ 1.2 |
| Fichier MediaWiki : rebuildrecentchanges.php | |
|---|---|
| Emplacement : | maintenance/ |
| Code source : | master • 1.46.0 • 1.45.4 • 1.43.9 |
| Classes : | RebuildRecentchanges |
Détails
Le fichier rebuildrecentchanges.php est un script de maintenance permettant de reconstruire les modifications récentes en partant de rien.
Options et arguments
| Option | Description | Nécessaire ? |
|---|---|---|
| --from | Ne reconstruire que les colonnes dans la période demandée (dans le format AAAAMMJJHHMMSS) | optionnel |
| --to | Ne reconstruire que les colonnes dans la période demandée (dans le format AAAAMMJJHHMMSS) | optionnel |
| --wiki | Pour sélectionner un wiki lorsque l'installation a été faite pour une famille de wikis | optionnel |
Utilisation
php maintenance/run.php rebuildrecentchanges [ --from| --to | --wiki]
Terminal
$ php maintenance/run.php rebuildrecentchanges Rebuilding $wgRCMaxAge=7776000 seconds (90 days) Clearing recentchanges table for time range... Loading from page and revision tables... Inserting from page and revision tables... Updating links and size differences... Loading from user and logging tables... Flagging bot account edits... Flagging auto-patrolled edits... Removing duplicate revision and logging entries... Deleting feed timestamps. Done.
L'exécution de ce script marquera toutes les éditions vérifiées comme étant non vérifiées.
Dans la version MediaWiki MediaWiki 1.39 et antérieures, vous devez appeler les scripts de maintenance en utilisant
php maintenance/scriptName.php au lieu de php maintenance/run.php scriptName.