dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
6b3cbc2
)
Merge "EditPage::newSectionSummary should return a value in all code paths"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Wed, 13 Aug 2014 16:41:49 +0000
(16:41 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Wed, 13 Aug 2014 16:41:49 +0000
(16:41 +0000)
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
dafbbe3
..
f97e3f8
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-1468,9
+1468,8
@@
class EditPage {
$cleanSummary = $wgParser->stripSectionName( $this->summary );
return wfMessage( 'newsectionsummary' )
->rawParams( $cleanSummary )->inContentLanguage()->text();
- } else {
- return $this->summary;
}
+ return $this->summary;
}
/**