(bug 5364) Don't raise false blank summary reminder when adding a new section
This commit is contained in:
parent
4ee1acde17
commit
6cd0519a30
1 changed files with 1 additions and 1 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue