From: Tim Starling Date: Thu, 4 Jun 2009 06:02:00 +0000 (+0000) Subject: Revert r49935 (decode character entities in namespace names) due to lack of justifica... X-Git-Tag: 1.31.0-rc.0~41513 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/bilan.php?a=commitdiff_plain;h=c5150166f9d53c3d35b1ef0b5beb7a8e9e54c528;p=lhc%2Fweb%2Fwiklou.git Revert r49935 (decode character entities in namespace names) due to lack of justification on CodeReview and bug report. --- 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 {