From: Brion Vibber Date: Fri, 19 Mar 2004 22:35:46 +0000 (+0000) Subject: Remove recently-added insert-section-title-as-summary on section edit. X-Git-Tag: 1.3.0beta1~771 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=830b3587ea810d40ea8aff5e6d908c77b46defd2;p=lhc%2Fweb%2Fwiklou.git Remove recently-added insert-section-title-as-summary on section edit. There have been a number of complaints about this being slipped onto the live Wikipedia, particularly to the effect that it discourages people from filling out an actual edit summary that describes what they wrote. --- diff --git a/includes/EditPage.php b/includes/EditPage.php index a56841950e..c659e6e55c 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -221,12 +221,6 @@ class EditPage { } else { $s.=wfMsg("sectionedit"); } - if(!$this->preview) { - $sectitle=preg_match("/^=+(.*?)=+/mi", - $this->textbox1, - $matches); - if($matches[1]) { $this->summary = "(".trim($matches[1]).")"; } - } } $wgOut->setPageTitle( $s ); if ( $this->oldid ) {