From c5150166f9d53c3d35b1ef0b5beb7a8e9e54c528 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Thu, 4 Jun 2009 06:02:00 +0000 Subject: [PATCH] Revert r49935 (decode character entities in namespace names) due to lack of justification on CodeReview and bug report. --- RELEASE-NOTES | 1 - includes/specials/SpecialSearch.php | 2 -- 2 files changed, 3 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index aa9a9ca40e..9b96db73e2 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -139,7 +139,6 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN 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 * (bug 17614) Prev / Next links not need on ImagePage file history if less than limit * (bug 18207) Strange spacing before [[irc:...]] links diff --git a/includes/specials/SpecialSearch.php b/includes/specials/SpecialSearch.php index a456efe352..a0e7e789e3 100644 --- a/includes/specials/SpecialSearch.php +++ b/includes/specials/SpecialSearch.php @@ -700,7 +700,6 @@ 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 { @@ -720,7 +719,6 @@ class SpecialSearch { $m = wfMsg( 'searchprofile-project' ); $tt = wfMsg( 'searchprofile-project-tooltip', $wgLang->commaList( SearchEngine::namespacesAsText( SearchEngine::helpNamespaces() ) ) ); - $tt = Sanitizer::decodeCharReferences( $tt ); // need to allow entities if( $this->active == 'help' ) { $out .= Xml::element( 'strong', array( 'title'=>$tt ), $m ); } else { -- 2.20.1