From: Pmlineditor Date: Sun, 5 Feb 2017 21:57:35 +0000 (+0530) Subject: Allow wikilinks in "Powersearch-ns" X-Git-Tag: 1.31.0-rc.0~4149^2 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=83b4077eb38639107286a2dd42ba61c36190ffb2;p=lhc%2Fweb%2Fwiklou.git Allow wikilinks in "Powersearch-ns" Changed use of escaped() to parse() to allow wikilinks in MediaWiki:Powersearch-ns. Use case is provided in T157204. Bug: T157204 Change-Id: Ic2eb28aaf735c31b50f3365176966e2e48091e54 --- diff --git a/includes/widget/search/SearchFormWidget.php b/includes/widget/search/SearchFormWidget.php index e223b952db..1451843093 100644 --- a/includes/widget/search/SearchFormWidget.php +++ b/includes/widget/search/SearchFormWidget.php @@ -297,7 +297,7 @@ class SearchFormWidget { return "
" . "" . $this->specialSearch->msg( 'powersearch-legend' )->escaped() . '' . - "

" . $this->specialSearch->msg( 'powersearch-ns' )->escaped() . '

' . + "

" . $this->specialSearch->msg( 'powersearch-ns' )->parse() . '

' . // populated by js if available "
" . $divider .