From cf27061541928c8cd8a9239ba0b4587dcd080c48 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 12 Dec 2010 18:47:04 +0000 Subject: [PATCH] It's easier to use addWikiMsgArray() --- includes/OutputPage.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index a2c53d1b27..92f2c9f89c 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -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(); } -- 2.20.1