* (bug 18535) Search tab tool-tops are corrupted
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Mon, 27 Apr 2009 07:24:07 +0000 (07:24 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Mon, 27 Apr 2009 07:24:07 +0000 (07:24 +0000)
RELEASE-NOTES
includes/specials/SpecialSearch.php

index 37f07de..3ae32f3 100644 (file)
@@ -374,6 +374,7 @@ The following extensions are migrated into MediaWiki 1.15:
   for it.
 * (bug 17020) Adding fallback encodings for Traditional and Simplified Chinese 
   languages while the the text is typed as URLs.
+* (bug 18535) Search tab tool-tops are corrupted
 
 == API changes in 1.15 ==
 * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions
index 28a4c9b..b5e571a 100644 (file)
@@ -686,6 +686,7 @@ class SpecialSearch {
                $m = wfMsg( 'searchprofile-articles' );
                $tt = wfMsg( 'searchprofile-articles-tooltip', 
                        $wgLang->commaList( SearchEngine::namespacesAsText( SearchEngine::defaultNamespaces() ) ) );
+               $tt = Sanitizer::decodeCharReferences( $tt ); // need to allow entities
                if( $this->active == 'default' ) {
                        $out .= Xml::element( 'strong', array( 'title'=>$tt ), $m );    
                } else {
@@ -706,6 +707,7 @@ class SpecialSearch {
                $m = wfMsg( 'searchprofile-project' );
                $tt = wfMsg( 'searchprofile-project-tooltip', 
                        $wgLang->commaList( SearchEngine::namespacesAsText( SearchEngine::projectNamespaces() ) ) );
+               $tt = Sanitizer::decodeCharReferences( $tt ); // need to allow entities
                if( $this->active == 'project' ) {
                        $out .= Xml::element( 'strong', array( 'title'=>$tt ), $m );    
                } else {