From dd362c923d92bf334aa230e3cf393ada1ff88864 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Tue, 6 Jun 2017 00:30:49 +0200 Subject: [PATCH] EditPage: Give edit summary field's 'tabindex' as a number There's a bug in OOjs UI that causes the string value to be ignored after the input is infused (e.g. by the mediawiki.action.edit script). Bug: T167070 Change-Id: Ibeefc8327b462552c67459aac2c75cca9b1f4739 --- includes/EditPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index 20250d59ca..f79a2863e7 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -3059,7 +3059,7 @@ class EditPage { 'id' => 'wpSummary', 'name' => 'wpSummary', 'maxlength' => '200', - 'tabindex' => '1', + 'tabindex' => 1, 'size' => 60, 'spellcheck' => 'true', ] + Linker::tooltipAndAccesskeyAttribs( 'summary' ); -- 2.20.1