X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fparser%2FParserCache.php;h=795230035c06a3ef1f1951f871b95630b04b54ea;hb=7a7f79394e70402c567dad068a7701e021b395d3;hp=33f0f96836557c590efee8cbb0fef2491fb97ac2;hpb=d74a185fd315a75b41c9f2a8832ac70437de0e37;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/parser/ParserCache.php b/includes/parser/ParserCache.php index 33f0f96836..795230035c 100644 --- a/includes/parser/ParserCache.php +++ b/includes/parser/ParserCache.php @@ -26,7 +26,7 @@ * @todo document */ class ParserCache { - /** @var MWMemcached */ + /** @var MWMemcached */ private $mMemc; /** * Get an instance of this object @@ -95,7 +95,7 @@ class ParserCache { * @param ParserOptions $popts * @return string */ - function getETag( $article, $popts ) { + public function getETag( $article, $popts ) { return 'W/"' . $this->getParserOutputKey( $article, $popts->optionsHash( ParserOptions::legacyOptions(), $article->getTitle() ) ) . "--" . $article->getTouched() . '"';