From: Alexandre Emsenhuber Date: Thu, 1 Mar 2012 17:29:12 +0000 (+0000) Subject: * (bug 34849) Diff when editing an old version show the comparison with the current... X-Git-Tag: 1.31.0-rc.0~24445 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22messagerie%22%29%20.%20%22?a=commitdiff_plain;h=79ce8812b6ccfe8ab1e0d684c57de9dfa51e575e;p=lhc%2Fweb%2Fwiklou.git * (bug 34849) Diff when editing an old version show the comparison with the current text again --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 8c0e8f25b9..f5057e8d7c 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -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 );