From 83b4077eb38639107286a2dd42ba61c36190ffb2 Mon Sep 17 00:00:00 2001 From: Pmlineditor Date: Mon, 6 Feb 2017 03:27:35 +0530 Subject: [PATCH] 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 --- includes/widget/search/SearchFormWidget.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 . -- 2.20.1