From d02cefa6989f5d8ba7ad02f7f6901f017a077f14 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 29 Sep 2011 17:44:43 +0000 Subject: [PATCH] Made getParserOutput() actually use the right parserOptions for the user --- includes/Article.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.20.1