Jump to content

Manual:PurgeChangedFiles.php

From mediawiki.org
This page is a translated version of the page Manual:PurgeChangedFiles.php and the translation is 67% complete.
Outdated translations are marked like this.
Versão MediaWiki:
1.22

Detalhes

O arquivo purgeChangedFiles.php é um script de manutenção para verificar o log de exclusão e para purgar arquivos afetados dentro de um prazo. This script processes 100 items in a batch.

Options/Arguments

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

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