]> scripts.mit.edu Git - autoinstalls/mediawiki.git/blobdiff - maintenance/language/date-formats.php
MediaWiki 1.17.0
[autoinstalls/mediawiki.git] / maintenance / language / date-formats.php
index 54a6a26d85615df052640fd883f4b136e45f9851..04f5e8baf5db7405c9ee6ea701ec0c9b71ddc106 100644 (file)
@@ -20,7 +20,7 @@
  * @ingroup MaintenanceLanguage
  */
 
-require_once( dirname(__FILE__) . '/../Maintenance.php' );
+require_once( dirname( __FILE__ ) . '/../Maintenance.php' );
 
 class DateFormats extends Maintenance {
 
@@ -60,7 +60,7 @@ class DateFormats extends Maintenance {
                                }
                                $this->output( $lang->time( $this->ts, false, $pref ) );
                        }
-                       $this->output( "\n$code both: " ); 
+                       $this->output( "\n$code both: " );
                        foreach ( $prefs as $index => $pref ) {
                                if ( $index > 0 ) {
                                        $this->output( ' | ' );
@@ -73,4 +73,4 @@ class DateFormats extends Maintenance {
 }
 
 $maintClass = "DateFormats";
-require_once( DO_MAINTENANCE );
+require_once( RUN_MAINTENANCE_IF_MAIN );