r75128 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75127‎ | r75128 | r75129 >
Date:23:36, 20 October 2010
Author:reedy
Status:ok
Tags:
Comment:
Followup r75096 per Platonides, name the stuff better, rather than just fixing the typo..
Modified paths:
  • /trunk/phase3/includes/api/ApiQuery.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQuery.php
@@ -576,15 +576,15 @@
577577 $this->mPageSet = null;
578578 $this->mAllowedGenerators = array(); // Will be repopulated
579579
580 - $asterisk = str_repeat( '--- ', 8 );
581 - $asterisk2 = str_repeat( '*** ', 10 );
582 - $msg .= "\n$asterisk Query: Prop $asterisk\n\n";
 580+ $querySeparator = str_repeat( '--- ', 8 );
 581+ $moduleSeparator = str_repeat( '*** ', 10 );
 582+ $msg .= "\n$querySeparator Query: Prop $querySeparator\n\n";
583583 $msg .= $this->makeHelpMsgHelper( $this->mQueryPropModules, 'prop' );
584 - $msg .= "\n$asterisk Query: List $asterisk\n\n";
 584+ $msg .= "\n$querySeparator Query: List $querySeparator\n\n";
585585 $msg .= $this->makeHelpMsgHelper( $this->mQueryListModules, 'list' );
586 - $msg .= "\n$asterisk Query: Meta $asterisk\n\n";
 586+ $msg .= "\n$querySeparator Query: Meta $querySeparator\n\n";
587587 $msg .= $this->makeHelpMsgHelper( $this->mQueryMetaModules, 'meta' );
588 - $msg .= "\n\n$asterisk2 Modules: continuation $asterisk2\n\n";
 588+ $msg .= "\n\n$moduleSeparator Modules: continuation $moduleSeparator\n\n";
589589
590590 // Perform the base call last because the $this->mAllowedGenerators
591591 // will be updated inside makeHelpMsgHelper()

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r75096Fix some method documentation...reedy18:50, 20 October 2010

Status & tagging log