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:
8ca0afd
)
EditPage: Restore ability to provide edit summary for OOUI-style input
author
Bartosz Dziewoński
<matma.rex@gmail.com>
Tue, 18 Apr 2017 16:52:53 +0000
(18:52 +0200)
committer
Bartosz Dziewoński
<matma.rex@gmail.com>
Tue, 18 Apr 2017 18:09:11 +0000
(18:09 +0000)
The 'name' attribute was missing, so the field was not being submitted
with the form.
Change-Id: Ic7238b9bfe9ca254f844fb828cf09ecf44171461
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
f97f164
..
1345fae
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-3044,6
+3044,7
@@
class EditPage {
// Note: the maxlength is overridden in JS to 255 and to make it use UTF-8 bytes, not characters.
return ( is_array( $inputAttrs ) ? $inputAttrs : [] ) + [
'id' => 'wpSummary',
+ 'name' => 'wpSummary',
'maxlength' => '200',
'tabindex' => '1',
'size' => 60,