From: Sam Reed Date: Wed, 20 Oct 2010 23:36:21 +0000 (+0000) Subject: Followup r75096 per Platonides, name the stuff better, rather than just fixing the... X-Git-Tag: 1.31.0-rc.0~34393 X-Git-Url: http://git.cyclocoop.org/%27.%28%24current%20%3E%202?a=commitdiff_plain;h=661d26c9a3f2199b554e86f3bf2d9e914ed7f61b;p=lhc%2Fweb%2Fwiklou.git Followup r75096 per Platonides, name the stuff better, rather than just fixing the typo.. --- diff --git a/includes/api/ApiQuery.php b/includes/api/ApiQuery.php index 31ce8a9b41..1dbd615ccd 100644 --- a/includes/api/ApiQuery.php +++ b/includes/api/ApiQuery.php @@ -576,15 +576,15 @@ class ApiQuery extends ApiBase { $this->mPageSet = null; $this->mAllowedGenerators = array(); // Will be repopulated - $asterisk = str_repeat( '--- ', 8 ); - $asterisk2 = str_repeat( '*** ', 10 ); - $msg .= "\n$asterisk Query: Prop $asterisk\n\n"; + $querySeparator = str_repeat( '--- ', 8 ); + $moduleSeparator = str_repeat( '*** ', 10 ); + $msg .= "\n$querySeparator Query: Prop $querySeparator\n\n"; $msg .= $this->makeHelpMsgHelper( $this->mQueryPropModules, 'prop' ); - $msg .= "\n$asterisk Query: List $asterisk\n\n"; + $msg .= "\n$querySeparator Query: List $querySeparator\n\n"; $msg .= $this->makeHelpMsgHelper( $this->mQueryListModules, 'list' ); - $msg .= "\n$asterisk Query: Meta $asterisk\n\n"; + $msg .= "\n$querySeparator Query: Meta $querySeparator\n\n"; $msg .= $this->makeHelpMsgHelper( $this->mQueryMetaModules, 'meta' ); - $msg .= "\n\n$asterisk2 Modules: continuation $asterisk2\n\n"; + $msg .= "\n\n$moduleSeparator Modules: continuation $moduleSeparator\n\n"; // Perform the base call last because the $this->mAllowedGenerators // will be updated inside makeHelpMsgHelper()