Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -2311,7 +2311,7 @@ |
2312 | 2312 | function showDiff() { |
2313 | 2313 | global $wgUser, $wgContLang, $wgParser, $wgOut; |
2314 | 2314 | |
2315 | | - $oldtext = $this->getOriginalContent(); |
| 2315 | + $oldtext = $this->mArticle->getRawText(); |
2316 | 2316 | $newtext = $this->mArticle->replaceSection( |
2317 | 2317 | $this->section, $this->textbox1, $this->summary, $this->edittime ); |
2318 | 2318 | |
Index: branches/REL1_19/phase3/includes/EditPage.php |
— | — | @@ -2306,7 +2306,7 @@ |
2307 | 2307 | function showDiff() { |
2308 | 2308 | global $wgUser, $wgContLang, $wgParser, $wgOut; |
2309 | 2309 | |
2310 | | - $oldtext = $this->getOriginalContent(); |
| 2310 | + $oldtext = $this->mArticle->getRawText(); |
2311 | 2311 | $newtext = $this->mArticle->replaceSection( |
2312 | 2312 | $this->section, $this->textbox1, $this->summary, $this->edittime ); |
2313 | 2313 | |