From: Brian Wolff Date: Fri, 28 Feb 2014 13:01:10 +0000 (-0400) Subject: MWException: Expand {{SITENAME}} in pagetitle with Message::text() X-Git-Tag: 1.31.0-rc.0~16543 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=485ff9ead94b;p=lhc%2Fweb%2Fwiklou.git MWException: Expand {{SITENAME}} in pagetitle with Message::text() Bug: 58447 Change-Id: I5f4fcb6d6e044f708cd6adb1bc7312d592fc74dd --- diff --git a/includes/exception/MWException.php b/includes/exception/MWException.php index f344938812..797d406fe8 100644 --- a/includes/exception/MWException.php +++ b/includes/exception/MWException.php @@ -117,7 +117,7 @@ class MWException extends Exception { $args = array_slice( func_get_args(), 2 ); if ( $this->useMessageCache() ) { - return wfMessage( $key, $args )->plain(); + return wfMessage( $key, $args )->text(); } else { return wfMsgReplaceArgs( $fallback, $args ); }