Make Special:Search's button pretty again
authorChad Horohoe <chadh@wikimedia.org>
Tue, 21 Oct 2014 15:56:36 +0000 (08:56 -0700)
committerChad Horohoe <chadh@wikimedia.org>
Tue, 21 Oct 2014 15:58:28 +0000 (08:58 -0700)
Buttons were changed to be gated by the use UI
everywhere flag. Don't want that here

Change-Id: Ief47de045b2197f1ff36372355136418b0772948

includes/specials/SpecialSearch.php

index c922fbd..a91ec14 100644 (file)
@@ -1062,7 +1062,8 @@ class SpecialSearch extends SpecialPage {
                $out .= Html::hidden( 'fulltext', 'Search' ) . "\n";
                $out .= Html::submitButton(
                        $this->msg( 'searchbutton' )->text(),
-                       array(), array( 'mw-ui-progressive' )
+                       array( 'class' => 'mw-ui-button mw-ui-progressive' ),
+                       array( 'mw-ui-progressive' )
                ) . "\n";
 
                // Results-info