r72354 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72353‎ | r72354 | r72355 >
Date:06:17, 4 September 2010
Author:ialex
Status:ok
Tags:
Comment:
* added @file
* whitespaces fixes
* double quotes to simple quotes where possible
Modified paths:
  • /trunk/phase3/maintenance/helloWorld.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/helloWorld.php
@@ -1,21 +1,22 @@
22 <?php
3 -
43 /**
54 * To the extent possible under law, I, Mark Hershberger, have waived all copyright and
65 * related or neighboring rights to Hello World. This work is published from United States.
 6+ *
 7+ * @file
 8+ * @ingroup Maintenance
79 * @copyright CC0 http://creativecommons.org/publicdomain/zero/1.0/
810 * @author Mark A. Hershberger <mah@everybody.org>
9 - * @ingroup Maintenance
1011 */
1112
12 -require_once( dirname( __FILE__ ) . "/Maintenance.php" );
 13+require_once( dirname( __FILE__ ) . '/Maintenance.php' );
1314
1415 class CommandLineInstaller extends Maintenance {
1516
1617 public function __construct() {
1718 parent::__construct();
1819
19 - $this->addOption( 'name', 'Who to say Hello to', false, true);
 20+ $this->addOption( 'name', 'Who to say Hello to', false, true );
2021 }
2122
2223 public function execute() {
@@ -24,5 +25,4 @@
2526 }
2627 }
2728
28 -wfRunMaintenance( "CommandLineInstaller" );
29 -
 29+wfRunMaintenance( 'CommandLineInstaller' );

Status & tagging log