Jump to content

Handboek:PurgeChangedFiles.php

From mediawiki.org
This page is a translated version of the page Manual:PurgeChangedFiles.php and the translation is 100% complete.
MediaWiki-versie:
1.22

Details

Bestand purgeChangedFiles.php is een onderhoudsscript om de tabel logging te scannen en de getroffen bestanden te zuiveren binnen een tijdsbestek. This script processes 100 items in a batch.

Options/Arguments

Option Description Required?
--starttime Starting timestamp Verplicht
--endtime Ending timestamp Verplicht
--type Comma-separated list of types of changes to send purges for (created,deleted,modified,all) Optioneel
--htcp-dest HTCP announcement destination (IP:port) Optioneel
--dry-run Do not send purge requests Optioneel
--sleep-per-batch Milliseconds to sleep between batches Optioneel
--verbose Show more output Optioneel

Usage

php maintenance/purgeChangedFiles.php --starttime dt1 --endtime dt2 [ --type| --htcp-dest| --dry-run| --sleep-per-batch| --verbose ]

Dry run to check purging

Terminal

Purging

Terminal

See also