From: Rob Church Date: Sun, 26 Mar 2006 23:50:19 +0000 (+0000) Subject: (bug 5364) Don't raise false blank summary reminder when adding a new section X-Git-Tag: 1.6.0~114 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=6cd0519a3009f79667e50610d12dd3c4d5e368e4;p=lhc%2Fweb%2Fwiklou.git (bug 5364) Don't raise false blank summary reminder when adding a new section --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 670757b2bb..3e8c46e0c4 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -633,7 +633,7 @@ class EditPage { } # Handle the user preference to force summaries here - if( !$this->allowBlankSummary && $wgUser->getOption( 'forceeditsummary' ) ) { + if( $this->section != 'new' && !$this->allowBlankSummary && $wgUser->getOption( 'forceeditsummary' ) ) { if( md5( $this->summary ) == $this->autoSumm ) { $this->missingSummary = true; wfProfileOut( $fname );