From: Bartosz DziewoƄski Date: Tue, 18 Apr 2017 16:52:53 +0000 (+0200) Subject: EditPage: Restore ability to provide edit summary for OOUI-style input X-Git-Tag: 1.31.0-rc.0~3480 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=9cbf4bdcc96f9ff3951f0c1b078e4072ba2beae7;p=lhc%2Fweb%2Fwiklou.git EditPage: Restore ability to provide edit summary for OOUI-style input The 'name' attribute was missing, so the field was not being submitted with the form. Change-Id: Ic7238b9bfe9ca254f844fb828cf09ecf44171461 --- diff --git a/includes/EditPage.php b/includes/EditPage.php index f97f16469a..1345fae05d 100644 --- 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,