From: Brion Vibber Date: Thu, 1 May 2008 22:31:20 +0000 (+0000) Subject: * (bug 13924) Fix bad HTML on power search form X-Git-Tag: 1.31.0-rc.0~47957 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=3950cc5af1dd53b9905ecff5fe377af204bb0c76;p=lhc%2Fweb%2Fwiklou.git * (bug 13924) Fix bad HTML on power search form --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 4ec765e8dc..6e94c9e27f 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -235,7 +235,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 13913) Special:Whatlinkshere now has correct HTML markup * (bug 13905) Blacklist Mac IE from HttpOnly cookies; it eats them sometimes * (bug 13922) Fix bad HTML on empty Special:Prefixindex and Special:Allpages - +* (bug 13924) Fix bad HTML on power search form === API changes in 1.13 === diff --git a/includes/SpecialSearch.php b/includes/SpecialSearch.php index fa5f38cf10..25aba1c7d0 100644 --- a/includes/SpecialSearch.php +++ b/includes/SpecialSearch.php @@ -586,7 +586,7 @@ class SpecialSearch { $name = wfMsg( 'blanknamespace' ); } $namespaces .= Xml::openElement( 'span', array( 'style' => 'white-space: nowrap' ) ) . - Xml::checkLabel( $name, "ns{$ns}", $name, in_array( $ns, $this->namespaces ) ) . + Xml::checkLabel( $name, "ns{$ns}", "mw-search-ns{$ns}", in_array( $ns, $this->namespaces ) ) . Xml::closeElement( 'span' ) . "\n"; }