diff --git a/includes/ChangeTags.php b/includes/ChangeTags.php index 3fc27f9a221..7ec641d9d63 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;