(bug 34929) Show the correct diff when a section edit is rejected by the spam filter...
authorTim Starling <tstarling@users.mediawiki.org>
Thu, 8 Mar 2012 00:49:50 +0000 (00:49 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Thu, 8 Mar 2012 00:49:50 +0000 (00:49 +0000)
commit4565aac9f039dc7980445c8cdfbeeb373b2e5925
tree5c1fe03e6cb2cc62bc825fb2b3cc69496429e157
parent71bdf4a745f9fbc8fb2847e0240b690bb4275c04
(bug 34929) Show the correct diff when a section edit is rejected by the spam filter. Use EditPage::showDiff() so that the same kind of diff is shown as when you click the "show changes" button. I considered changing the source text to be the original section text, but if you do that, the line numbers are wrong and section=new doesn't show you the headline which may have matched the spam filter.
RELEASE-NOTES-1.20
includes/EditPage.php