* (bug 2548) Keep summary on 'show changes' of section edit
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 29 Jun 2005 08:37:46 +0000 (08:37 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 29 Jun 2005 08:37:46 +0000 (08:37 +0000)
RELEASE-NOTES
includes/EditPage.php

index 39549a8..5ddd471 100644 (file)
@@ -420,6 +420,7 @@ Various bugfixes, small features, and a few experimental things:
 * (bug 2564) Don't show "editingold" warning for recent revision
 * Various code cleanup and HTML escaping fixlets
 * Copy IRC-over-UDP update option from REL1_4
+* (bug 2548) Keep summary on 'show changes' of section edit
 
 
 === Caveats ===
index 8c2f3bd..1b53ba1 100644 (file)
@@ -479,7 +479,7 @@ class EditPage {
                                } else {
                                        $s = wfMsg('editingsection', $this->mTitle->getPrefixedText() );
                                }
-                               if(!$this->preview) {
+                               if( !$this->preview && !$this->diff ) {
                                        preg_match( "/^(=+)(.+)\\1/mi",
                                                $this->textbox1,
                                                $matches );