Manual:PruneFileCache.php/pt-br

Versão MediaWiki:
1.19
Category:MediaWiki code/pt-br#PruneFileCache.php

Detalhes

O arquivo pruneFileCache.php é um script de manutenção que suprime o cache de arquivos para páginas, objetos, recursos, etc.

This script requires $wgUseFileCache = true; to be set in LocalSettings.php in order to prune the file cache from $wgFileCacheDirectory.

Options/Arguments

OptionDescriptionRequired?
--agedaysHow many days old files must be in order to deleteRequired
--subdirPrune one $wgFileCacheDirectory subdirectory nameOptional

Usage

php maintenance/run.php pruneFileCache --agedays days [ --subdir ]
Terminal
No MediaWiki versão 1.39.12 e anteriores, você deve invocar os scripts de manutenção usando php maintenance/scriptName.php em vez de php maintenance/run.php scriptName.

See also

Category:Maintenance scripts/pt-br#PruneFileCache.php Category:File maintenance scripts/pt-br
Category:File maintenance scripts/pt-br Category:Maintenance scripts/pt-br Category:MediaWiki code/pt-br