Until the ContentHandler merge, when editing an old revision the "Show
changes" button would show the diff between the current version and the
text in the edit field. It appears that the ContentHandler merge somehow
unfixed bug 34849.
The same fix that was applied for that bug in r112819 translated into
ContentHandler terms seems to fix the bug again here.
Change-Id: I1eee25c530ef87ff2ecd61f0fd5c01de94eccb98
* (bug 37020) sql.php with readline eats semicolon
* (bug 11748) Properly handle optionally-closed HTML tags when Tidy is
disabled, and don't wrap HTML-syntax definition lists in paragraphs.
+* (bug 41409) Diffs while editing an old revision should again diff against the
+ current revision.
=== API changes in 1.21 ===
* prop=revisions can now report the contentmodel and contentformat, see docs/contenthandler.txt
$oldContent = null;
}
} else {
- $oldContent = $this->getOriginalContent();
+ $oldContent = $this->getCurrentContent();
}
$textboxContent = $this->toEditContent( $this->textbox1 );