X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FpurgeParserCache.php;h=f067dc6a354dd4413fdfa8b9fe5c6bc97a3a693d;hb=fcdf2518605954fe1bcf88598fc14bd95d525882;hp=84a2b51e73243cfcbdc24a170a7385c894e6ace0;hpb=c5d3a6a715514b895caf301d957cfa351c8e49ca;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/purgeParserCache.php b/maintenance/purgeParserCache.php index 84a2b51e73..f067dc6a35 100644 --- a/maintenance/purgeParserCache.php +++ b/maintenance/purgeParserCache.php @@ -1,6 +1,6 @@ addDescription( "Remove old objects from the parser cache. " . + $this->addDescription( "Remove old objects from the parser cache. " . "This only works when the parser cache is in an SQL database." ); $this->addOption( 'expiredate', 'Delete objects expiring before this date.', false, true ); - $this->addOption( 'age', - 'Delete objects created more than this many seconds ago, assuming $wgParserCacheExpireTime '. - 'has been consistent.', + $this->addOption( 'age', + 'Delete objects created more than this many seconds ago, assuming $wgParserCacheExpireTime ' . + 'has been consistent.', false, true ); }