r77055 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77054‎ | r77055 | r77056 >
Date:11:14, 20 November 2010
Author:ialex
Status:ok
Tags:
Comment:
Don't add newlines and tabs in the documentation, wordwrap() already does this
Modified paths:
  • /trunk/phase3/maintenance/Maintenance.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/Maintenance.php
@@ -360,9 +360,9 @@
361361 $this->addOption( 'wiki', 'For specifying the wiki ID', false, true );
362362 $this->addOption( 'globals', 'Output globals at the end of processing for debugging' );
363363 $this->addOption( 'memory-limit', 'Set a specific memory limit for the script, "max" for no limit or "default" to avoid changing it' );
364 - $this->addOption( 'server', "The protocol and server name to use in URLs, e.g.\n" .
365 - "\t\thttp://en.wikipedia.org. This is sometimes necessary because\n" .
366 - "\t\tserver name detection may fail in command line scripts.", false, true );
 364+ $this->addOption( 'server', "The protocol and server name to use in URLs, e.g. " .
 365+ "http://en.wikipedia.org. This is sometimes necessary because " .
 366+ "server name detection may fail in command line scripts.", false, true );
367367 // If we support a DB, show the options
368368 if ( $this->getDbType() > 0 ) {
369369 $this->addOption( 'dbuser', 'The DB user to use for this script', false, true );

Status & tagging log