Avoid implicit Message::toString in InfoAction
authorumherirrender <umherirrender_de.wp@web.de>
Fri, 26 Sep 2014 13:42:36 +0000 (15:42 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Thu, 23 Oct 2014 16:32:33 +0000 (16:32 +0000)
Call explicit escape to show which message format is used.

Change-Id: I725f7ab394c275ad68a0b816b841c9b6b8bc325c

includes/actions/InfoAction.php

index 12e845b..e7455f6 100644 (file)
@@ -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(