r79793 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79792‎ | r79793 | r79794 >
Date:03:04, 7 January 2011
Author:reedy
Status:ok
Tags:
Comment:
Widen api help splitters
Modified paths:
  • /trunk/phase3/includes/api/ApiMain.php (modified) (history)
  • /trunk/phase3/includes/api/ApiQuery.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQuery.php
@@ -599,8 +599,8 @@
600600 $this->mPageSet = null;
601601 $this->mAllowedGenerators = array(); // Will be repopulated
602602
603 - $querySeparator = str_repeat( '--- ', 8 );
604 - $moduleSeparator = str_repeat( '*** ', 10 );
 603+ $querySeparator = str_repeat( '--- ', 12 );
 604+ $moduleSeparator = str_repeat( '*** ', 14 );
605605 $msg .= "\n$querySeparator Query: Prop $querySeparator\n\n";
606606 $msg .= $this->makeHelpMsgHelper( $this->mQueryPropModules, 'prop' );
607607 $msg .= "\n$querySeparator Query: List $querySeparator\n\n";
Index: trunk/phase3/includes/api/ApiMain.php
@@ -836,7 +836,7 @@
837837 // Use parent to make default message for the main module
838838 $msg = parent::makeHelpMsg();
839839
840 - $astriks = str_repeat( '*** ', 10 );
 840+ $astriks = str_repeat( '*** ', 14 );
841841 $msg .= "\n\n$astriks Modules $astriks\n\n";
842842 foreach ( array_keys( $this->mModules ) as $moduleName ) {
843843 $module = new $this->mModules[$moduleName] ( $this, $moduleName );

Status & tagging log