From 53a8acaf8aea16fc36f5a4157b8ab136f44f1021 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Fri, 25 Oct 2013 13:30:00 -0700 Subject: [PATCH] Add HTML ID to tag filter input Makes it so if you click "Tag filter" the input box is now focused. Bug: 56175 Change-Id: I502f86f227bc0d1cc5ea936d9047bc51d169323a --- includes/ChangeTags.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/ChangeTags.php b/includes/ChangeTags.php index 3fc27f9a22..7ec641d9d6 100644 --- a/includes/ChangeTags.php +++ b/includes/ChangeTags.php @@ -232,7 +232,7 @@ class ChangeTags { } $data = array( Html::rawElement( 'label', array( 'for' => 'tagfilter' ), wfMessage( 'tag-filter' )->parse() ), - Xml::input( 'tagfilter', 20, $selected, array( 'class' => 'mw-tagfilter-input' ) ) ); + Xml::input( 'tagfilter', 20, $selected, array( 'class' => 'mw-tagfilter-input', 'id' => 'tagfilter' ) ) ); if ( !$fullForm ) { return $data; -- 2.20.1