Special:Contributions - use `label` instead of `radioLabel` for username
authorDannyS712 <DannyS712.enwiki@gmail.com>
Thu, 5 Sep 2019 23:31:58 +0000 (23:31 +0000)
committerDannyS712 <DannyS712.enwiki@gmail.com>
Sat, 7 Sep 2019 04:10:37 +0000 (04:10 +0000)
Bug: T232173
Change-Id: I39b25cbd560b4990b978de63ca074d9c5d553a60

includes/specials/SpecialContributions.php

index 4599b22..40c0edf 100644 (file)
@@ -554,13 +554,9 @@ class SpecialContributions extends IncludableSpecialPage {
                        $filterSelection = Html::rawElement( 'div', [], '' );
                }
 
-               $labelUsername = Xml::radioLabel(
+               $labelUsername = Xml::label(
                        $this->msg( 'sp-contributions-username' )->text(),
-                       'contribs',
-                       'user',
-                       'user',
-                       true,
-                       [ 'class' => 'mw-input' ]
+                       'mw-target-user-or-ip'
                );
                $input = Html::input(
                        'target',