From 485ff9ead94b12063002e29c760432b9d70b2d09 Mon Sep 17 00:00:00 2001 From: Brian Wolff Date: Fri, 28 Feb 2014 09:01:10 -0400 Subject: [PATCH] MWException: Expand {{SITENAME}} in pagetitle with Message::text() Bug: 58447 Change-Id: I5f4fcb6d6e044f708cd6adb1bc7312d592fc74dd --- includes/exception/MWException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- 2.20.1