From: Sam Reed Date: Tue, 10 Aug 2010 19:57:53 +0000 (+0000) Subject: Replace some instances of $wgUser passed to ParserOutput::get()/getKey() for $wgOut... X-Git-Tag: 1.31.0-rc.0~35558 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=0cb57fea08f5786faa39449b4b1d1d9efbe5dcdc;p=lhc%2Fweb%2Fwiklou.git Replace some instances of $wgUser passed to ParserOutput::get()/getKey() for $wgOut->parserOptions() --- diff --git a/includes/diff/DifferenceInterface.php b/includes/diff/DifferenceInterface.php index ba2a6da740..9ff611e944 100644 --- a/includes/diff/DifferenceInterface.php +++ b/includes/diff/DifferenceInterface.php @@ -450,7 +450,7 @@ CONTROL; } } elseif( $pCache ) { $article = new Article( $this->mTitle, 0 ); - $pOutput = ParserCache::singleton()->get( $article, $wgUser ); + $pOutput = ParserCache::singleton()->get( $article, $wgOut->parserOptions() ); if( $pOutput ) { $wgOut->addParserOutput( $pOutput ); } else {