From: Roan Kattouw Date: Mon, 15 Feb 2010 18:47:32 +0000 (+0000) Subject: Whitespace fixes for r62532 X-Git-Tag: 1.31.0-rc.0~37747 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=f93de570e9808684be5f471bcb9953527defec4b;p=lhc%2Fweb%2Fwiklou.git Whitespace fixes for r62532 --- diff --git a/includes/api/ApiQueryAllmessages.php b/includes/api/ApiQueryAllmessages.php index 5dbf5f9a2c..4c04a7c68f 100644 --- a/includes/api/ApiQueryAllmessages.php +++ b/includes/api/ApiQueryAllmessages.php @@ -35,8 +35,8 @@ if ( !defined( 'MEDIAWIKI' ) ) { */ class ApiQueryAllmessages extends ApiQueryBase { - public function __construct( $query, $moduleName) { - parent :: __construct( $query, $moduleName, 'am'); + public function __construct( $query, $moduleName ) { + parent :: __construct( $query, $moduleName, 'am' ); } public function execute() { @@ -87,7 +87,7 @@ class ApiQueryAllmessages extends ApiQueryBase { $args = $params['args']; } // Check if the parser is enabled: - if ( $params[ 'enableparser' ] ){ + if ( $params['enableparser'] ) { $msg = wfMsgExt( $message, array( 'parsemag' ), $args ); } else if ( $args ) { $msgString = wfMsgGetKey( $message, true, false, false ); @@ -146,8 +146,8 @@ class ApiQueryAllmessages extends ApiQueryBase { return array ( 'messages' => 'Which messages to output. "*" means all messages', 'prop' => 'Which properties to get', - 'enableparser' => array('Set to enable parser, will parses the wikitext of message', - 'Will substitute magic words, handle templates etc'), + 'enableparser' => array( 'Set to enable parser, will preprocess the wikitext of message', + 'Will substitute magic words, handle templates etc.' ), 'args' => 'Arguments to be substituted into message', 'filter' => 'Return only messages that contain this string', 'lang' => 'Return messages in this language',