From 9cbf4bdcc96f9ff3951f0c1b078e4072ba2beae7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Tue, 18 Apr 2017 18:52:53 +0200 Subject: [PATCH] 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 --- includes/EditPage.php | 1 + 1 file changed, 1 insertion(+) 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, -- 2.20.1