Widen api help splitters
authorSam Reed <reedy@users.mediawiki.org>
Fri, 7 Jan 2011 03:04:03 +0000 (03:04 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Fri, 7 Jan 2011 03:04:03 +0000 (03:04 +0000)
includes/api/ApiMain.php
includes/api/ApiQuery.php

index 8933e05..dfee657 100644 (file)
@@ -836,7 +836,7 @@ class ApiMain extends ApiBase {
                // Use parent to make default message for the main module
                $msg = parent::makeHelpMsg();
 
-               $astriks = str_repeat( '*** ', 10 );
+               $astriks = str_repeat( '*** ', 14 );
                $msg .= "\n\n$astriks Modules  $astriks\n\n";
                foreach ( array_keys( $this->mModules ) as $moduleName ) {
                        $module = new $this->mModules[$moduleName] ( $this, $moduleName );
index c087c96..0f1d63d 100644 (file)
@@ -599,8 +599,8 @@ class ApiQuery extends ApiBase {
                $this->mPageSet = null;
                $this->mAllowedGenerators = array(); // Will be repopulated
 
-               $querySeparator = str_repeat( '--- ', 8 );
-               $moduleSeparator = str_repeat( '*** ', 10 );
+               $querySeparator = str_repeat( '--- ', 12 );
+               $moduleSeparator = str_repeat( '*** ', 14 );
                $msg .= "\n$querySeparator Query: Prop  $querySeparator\n\n";
                $msg .= $this->makeHelpMsgHelper( $this->mQueryPropModules, 'prop' );
                $msg .= "\n$querySeparator Query: List  $querySeparator\n\n";