From f93de570e9808684be5f471bcb9953527defec4b Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Mon, 15 Feb 2010 18:47:32 +0000 Subject: [PATCH] Whitespace fixes for r62532 --- includes/api/ApiQueryAllmessages.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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', -- 2.20.1