* (bug 34849) Diff when editing an old version show the comparison with the current...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 1 Mar 2012 17:29:12 +0000 (17:29 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 1 Mar 2012 17:29:12 +0000 (17:29 +0000)
includes/EditPage.php

index 8c0e8f2..f5057e8 100644 (file)
@@ -2311,7 +2311,7 @@ HTML
        function showDiff() {
                global $wgUser, $wgContLang, $wgParser, $wgOut;
 
-               $oldtext = $this->getOriginalContent();
+               $oldtext = $this->mArticle->getRawText();
                $newtext = $this->mArticle->replaceSection(
                        $this->section, $this->textbox1, $this->summary, $this->edittime );