Manual:PruneFileCache.php/pt

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

Detalhes

O ficheiro pruneFileCache.php é um script de manutenção para suprimir o cache de ficheiros 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
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.

See also

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