From 0cb57fea08f5786faa39449b4b1d1d9efbe5dcdc Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Tue, 10 Aug 2010 19:57:53 +0000 Subject: [PATCH] Replace some instances of $wgUser passed to ParserOutput::get()/getKey() for $wgOut->parserOptions() --- includes/diff/DifferenceInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.20.1