From 8410b26b37933c98a7db90f10c6485cd462af72c Mon Sep 17 00:00:00 2001 From: umherirrender Date: Fri, 26 Sep 2014 15:42:36 +0200 Subject: [PATCH] Avoid implicit Message::toString in InfoAction Call explicit escape to show which message format is used. Change-Id: I725f7ab394c275ad68a0b816b841c9b6b8bc325c --- includes/actions/InfoAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/actions/InfoAction.php b/includes/actions/InfoAction.php index 12e845b423..e7455f6e95 100644 --- a/includes/actions/InfoAction.php +++ b/includes/actions/InfoAction.php @@ -290,7 +290,7 @@ class InfoAction extends FormlessAction { $pageInfo['header-basic'][] = array( $langDisp, Language::fetchLanguageName( $pageLang, $lang->getCode() ) - . ' ' . $this->msg( 'parentheses', $pageLang ) ); + . ' ' . $this->msg( 'parentheses', $pageLang )->escaped() ); // Content model of the page $pageInfo['header-basic'][] = array( -- 2.20.1