http://www.mediawiki.org/wiki/Special:Code/MediaWiki/72354

Revision: 72354
Author:   ialex
Date:     2010-09-04 06:17:07 +0000 (Sat, 04 Sep 2010)

Log Message:
-----------
* added @file
* whitespaces fixes
* double quotes to simple quotes where possible

Modified Paths:
--------------
    trunk/phase3/maintenance/helloWorld.php

Modified: trunk/phase3/maintenance/helloWorld.php
===================================================================
--- trunk/phase3/maintenance/helloWorld.php     2010-09-04 06:08:21 UTC (rev 
72353)
+++ trunk/phase3/maintenance/helloWorld.php     2010-09-04 06:17:07 UTC (rev 
72354)
@@ -1,21 +1,22 @@
 <?php
-
 /**
  * To the extent possible under law,  I, Mark Hershberger, have waived all 
copyright and
  * related or neighboring rights to Hello World. This work is published from 
United States.
+ *
+ * @file
+ * @ingroup Maintenance
  * @copyright CC0 http://creativecommons.org/publicdomain/zero/1.0/
  * @author Mark A. Hershberger <[email protected]>
- * @ingroup Maintenance
  */
 
-require_once( dirname( __FILE__ ) . "/Maintenance.php" );
+require_once( dirname( __FILE__ ) . '/Maintenance.php' );
 
 class CommandLineInstaller extends Maintenance {
 
        public function __construct() {
                parent::__construct();
 
-               $this->addOption( 'name', 'Who to say Hello to', false, true);
+               $this->addOption( 'name', 'Who to say Hello to', false, true );
        }
 
        public function execute() {
@@ -24,5 +25,4 @@
        }
 }
 
-wfRunMaintenance( "CommandLineInstaller" );
-
+wfRunMaintenance( 'CommandLineInstaller' );



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to