From: Bartosz DziewoƄski Date: Sat, 11 Jul 2015 15:10:12 +0000 (+0200) Subject: SpecialLinkSearch: Use 'type' rather than 'class' for HTMLForm's HTMLSelectNamespace X-Git-Tag: 1.31.0-rc.0~10802^2 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=ee5009c9b8b337baca1984b15e4c5e2890a5a125;p=lhc%2Fweb%2Fwiklou.git SpecialLinkSearch: Use 'type' rather than 'class' for HTMLForm's HTMLSelectNamespace That seems to be the usual convention. Change-Id: I3afe7510be73178f82c9507ec68964f6e81567d4 --- diff --git a/includes/specials/SpecialLinkSearch.php b/includes/specials/SpecialLinkSearch.php index 7ffaf48b84..b22467c817 100644 --- a/includes/specials/SpecialLinkSearch.php +++ b/includes/specials/SpecialLinkSearch.php @@ -135,7 +135,7 @@ class LinkSearchPage extends QueryPage { if ( !$this->getConfig()->get( 'MiserMode' ) ) { $fields += array( 'namespace' => array( - 'class' => 'HTMLSelectNamespace', + 'type' => 'namespaceselect', 'name' => 'namespace', 'label-message' => 'linksearch-ns', 'default' => $namespace,