MWException: Expand {{SITENAME}} in pagetitle with Message::text()
authorBrian Wolff <bawolff+wn@gmail.com>
Fri, 28 Feb 2014 13:01:10 +0000 (09:01 -0400)
committerKrinkle <krinklemail@gmail.com>
Fri, 21 Mar 2014 22:12:47 +0000 (22:12 +0000)
Bug: 58447
Change-Id: I5f4fcb6d6e044f708cd6adb1bc7312d592fc74dd

includes/exception/MWException.php

index f344938..797d406 100644 (file)
@@ -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 );
                }