From: Brion Vibber Date: Wed, 29 Jun 2005 08:37:46 +0000 (+0000) Subject: * (bug 2548) Keep summary on 'show changes' of section edit X-Git-Tag: 1.5.0beta2~127 X-Git-Url: http://git.heureux-cyclage.org/?a=commitdiff_plain;h=af2df5002f696eb99114906bf051c28f2afb7e3b;p=lhc%2Fweb%2Fwiklou.git * (bug 2548) Keep summary on 'show changes' of section edit --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 39549a8816..5ddd471bc8 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 === diff --git a/includes/EditPage.php b/includes/EditPage.php index 8c2f3bdf29..1b53ba1a77 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -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 );