From: Aaron Schulz Date: Thu, 29 Sep 2011 17:44:43 +0000 (+0000) Subject: Made getParserOutput() actually use the right parserOptions for the user X-Git-Tag: 1.31.0-rc.0~27372 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=d02cefa6989f5d8ba7ad02f7f6901f017a077f14;p=lhc%2Fweb%2Fwiklou.git Made getParserOutput() actually use the right parserOptions for the user --- diff --git a/includes/Article.php b/includes/Article.php index d738f5afbc..8f69a4cfa2 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1800,7 +1800,8 @@ class Article extends Page { } if ( $useParserCache ) { - $parserOutput = ParserCache::singleton()->get( $this, $this->mPage->getParserOptions() ); + $options = $this->mPage->makeParserOptions( $user ); + $parserOutput = ParserCache::singleton()->get( $this, $options ); if ( $parserOutput !== false ) { wfProfileOut( __METHOD__ ); return $parserOutput;