Manual:PurgeChangedFiles.php/it

Versione MediaWiki:
1.22
Category:MediaWiki code/it#PurgeChangedFiles.php

Dettagli

Il file purgeChangedFiles.php è uno script di manutenzione per la scansione del log delle cancellazioni e per eliminare file interessati entro un termine. This script processes 100 items in a batch.

Options/Arguments

OptionDescriptionRequired?
--starttimeStarting timestampRequired
--endtimeEnding timestampRequired
--typeComma-separated list of types of changes to send purges for: created, deleted, modified, allOptional
--htcp-destHTCP announcement destination (IP:port)Optional
--dry-runDo not send purge requestsOptional
--sleep-per-batchMilliseconds to sleep between batchesOptional
--verboseShow more outputOptional

Usage

php maintenance/run.php purgeChangedFiles --starttime dt1 --endtime dt2 [ --type| --htcp-dest| --dry-run| --sleep-per-batch| --verbose ]
In MediaWiki version 1.39.12 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

Dry run to check purging

Terminal

Purging

Terminal

See also

Category:Maintenance scripts/it Category:File maintenance scripts/it
Category:File maintenance scripts/it Category:Maintenance scripts/it Category:MediaWiki code/it