X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=maintenance%2FpurgeParserCache.php;h=b56794bab1a9710243f49fb16a0d4c9534469263;hb=f3b2af39113e94f6ae9b00cccd7b8cdcd55c485f;hp=84a2b51e73243cfcbdc24a170a7385c894e6ace0;hpb=c5d3a6a715514b895caf301d957cfa351c8e49ca;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/purgeParserCache.php b/maintenance/purgeParserCache.php index 84a2b51e73..b56794bab1 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 ); }