It's easier to use addWikiMsgArray()
This commit is contained in:
parent
0de35fc275
commit
cf27061541
1 changed files with 1 additions and 3 deletions
|
|
@ -1803,9 +1803,7 @@ class OutputPage {
|
|||
$this->mRedirect = '';
|
||||
$this->mBodytext = '';
|
||||
|
||||
array_unshift( $params, 'parse' );
|
||||
array_unshift( $params, $msg );
|
||||
$this->addHTML( call_user_func_array( 'wfMsgExt', $params ) );
|
||||
$this->addWikiMsgArray( $msg, $params );
|
||||
|
||||
$this->returnToMain();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue