From 3950cc5af1dd53b9905ecff5fe377af204bb0c76 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 1 May 2008 22:31:20 +0000 Subject: [PATCH] * (bug 13924) Fix bad HTML on power search form --- RELEASE-NOTES | 2 +- includes/SpecialSearch.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"; } -- 2.20.1