From 6cd0519a3009f79667e50610d12dd3c4d5e368e4 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Sun, 26 Mar 2006 23:50:19 +0000 Subject: [PATCH] (bug 5364) Don't raise false blank summary reminder when adding a new section --- includes/EditPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.20.1