Fix for r103001: using the object is actually a good idea
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 14 Nov 2011 18:31:44 +0000 (18:31 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 14 Nov 2011 18:31:44 +0000 (18:31 +0000)
includes/diff/DifferenceEngine.php

index a90fe76..1bba4ca 100644 (file)
@@ -530,7 +530,7 @@ class DifferenceEngine extends ContextSource {
 
                                $parserOutput = false;
                                if ( $useParserCache ) {
-                                       $parserOutput = ParserCache::singleton()->get( $wikiPage, $out->parserOptions() );
+                                       $parserOutput = ParserCache::singleton()->get( $wikiPage, $parserOptions );
                                }
 
                                if( $parserOutput ) {