From: Niklas Laxström Date: Mon, 27 Apr 2009 07:24:07 +0000 (+0000) Subject: * (bug 18535) Search tab tool-tops are corrupted X-Git-Tag: 1.31.0-rc.0~41984 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=490963d9c70cac5699fb9cd03d11433608f4919d;p=lhc%2Fweb%2Fwiklou.git * (bug 18535) Search tab tool-tops are corrupted --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 37f07de7f7..3ae32f32ad 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 diff --git a/includes/specials/SpecialSearch.php b/includes/specials/SpecialSearch.php index 28a4c9b920..b5e571a054 100644 --- a/includes/specials/SpecialSearch.php +++ b/includes/specials/SpecialSearch.php @@ -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 {