Manual:PurgeParserCache.php

This page is a translated version of the page Manual:PurgeParserCache.php and the translation is 54% complete.
Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎日本語

Detalles

El archivo purgeParserCache.php es un script de mantenimiento para eliminar los objetos antiguos de la caché del analizador. This script only works when the parser cache is in an SQL database, by setting $wgMainCacheType or $wgParserCacheType to their appropriate values.

Uso

Go to the maintenance directory and run:

php purgeParserCache.php [ --expiredate | --age ]

You must specify either expiredate or age.

Opciones

Opción/parámetro Descripción
--expiredate=<date> Delete objects expiring before this date. The date can be specified in any format supported by the strtotime() function, like, for example, 20200809062714.
--age=<seconds> Delete objects created more than this many seconds ago, assuming $wgParserCacheExpireTime has been consistent.