MWException: Expand {{SITENAME}} in pagetitle with Message::text()
[lhc/web/wiklou.git] / 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 );
                }