dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ee1acd
)
(bug 5364) Don't raise false blank summary reminder when adding a new section
author
Rob Church
<robchurch@users.mediawiki.org>
Sun, 26 Mar 2006 23:50:19 +0000
(23:50 +0000)
committer
Rob Church
<robchurch@users.mediawiki.org>
Sun, 26 Mar 2006 23:50:19 +0000
(23:50 +0000)
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
670757b
..
3e8c46e
100644
(file)
--- 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 );