r78265 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78264‎ | r78265 | r78266 >
Date:18:47, 12 December 2010
Author:ialex
Status:ok
Tags:
Comment:
It's easier to use addWikiMsgArray()
Modified paths:
  • /trunk/phase3/includes/OutputPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/OutputPage.php
@@ -1803,9 +1803,7 @@
18041804 $this->mRedirect = '';
18051805 $this->mBodytext = '';
18061806
1807 - array_unshift( $params, 'parse' );
1808 - array_unshift( $params, $msg );
1809 - $this->addHTML( call_user_func_array( 'wfMsgExt', $params ) );
 1807+ $this->addWikiMsgArray( $msg, $params );
18101808
18111809 $this->returnToMain();
18121810 }

Status & tagging log