X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fparser%2FParserCache.php;h=0eba166b647d933590870bac34315bd55b8075f6;hb=fdd00f40b15ec3ca43499d08f04fb8481aa392b4;hp=c03b5c21128eb479a590a712b67633b6036b14ad;hpb=af4d3cd4a0864e33d3ba0791853742e2a487d16d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/parser/ParserCache.php b/includes/parser/ParserCache.php index c03b5c2112..0eba166b64 100644 --- a/includes/parser/ParserCache.php +++ b/includes/parser/ParserCache.php @@ -139,7 +139,9 @@ class ParserCache { } // Determine the options which affect this article - $optionsKey = $this->mMemc->get( $this->getOptionsKey( $article ) ); + $casToken = null; + $optionsKey = $this->mMemc->get( + $this->getOptionsKey( $article ), $casToken, BagOStuff::READ_VERIFIED ); if ( $optionsKey instanceof CacheTime ) { if ( !$useOutdated && $optionsKey->expired( $article->getTouched() ) ) { wfIncrStats( "pcache.miss.expired" ); @@ -198,7 +200,8 @@ class ParserCache { return false; } - $value = $this->mMemc->get( $parserOutputKey ); + $casToken = null; + $value = $this->mMemc->get( $parserOutputKey, $casToken, BagOStuff::READ_VERIFIED ); if ( !$value ) { wfDebug( "ParserOutput cache miss.\n" ); wfIncrStats( "pcache.miss.absent" );