MWException: Expand {{SITENAME}} in pagetitle with Message::text()

Bug: 58447
Change-Id: I5f4fcb6d6e044f708cd6adb1bc7312d592fc74dd
This commit is contained in:
Brian Wolff 2014-02-28 09:01:10 -04:00 committed by Krinkle
parent e14f84ab9c
commit 485ff9ead9

View 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 );
}