Manual:PruneFileCache.php

From mediawiki.org
This page is a translated version of the page Manual:PruneFileCache.php and the translation is 100% complete.
Versão MediaWiki:
1.19

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

Option Description Required?
--agedays How many days old files must be in order to delete Required
--subdir Prune one $wgFileCacheDirectory subdirectory name Optional

Usage

php maintenance/pruneFileCache.php --agedays days [ --subdir ]


Terminal

See also