MWException: Expand {{SITENAME}} in pagetitle with Message::text()
Bug: 58447 Change-Id: I5f4fcb6d6e044f708cd6adb1bc7312d592fc74dd
This commit is contained in:
parent
e14f84ab9c
commit
485ff9ead9
1 changed files with 1 additions and 1 deletions
|
|
@ -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 );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue