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:
6f02280
)
EditPage::newSectionSummary should return a value in all code paths
author
Brad Jorsch
<bjorsch@wikimedia.org>
Mon, 4 Aug 2014 14:48:00 +0000
(10:48 -0400)
committer
Brad Jorsch
<bjorsch@wikimedia.org>
Mon, 4 Aug 2014 14:48:00 +0000
(10:48 -0400)
Followup I72890c06.
Change-Id: Id63c3f3d2c180d193c37091dfe5f1c56e3edb45f
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
6454cfa
..
ff63fe8
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;
}
/**