It's easier to use addWikiMsgArray()

This commit is contained in:
Alexandre Emsenhuber 2010-12-12 18:47:04 +00:00
parent 0de35fc275
commit cf27061541

View file

@ -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();
}