(bug 18855) Consistently call commandLine.inc with how we more or less do it now.
authorChad Horohoe <demon@users.mediawiki.org>
Sun, 2 Aug 2009 22:55:33 +0000 (22:55 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Sun, 2 Aug 2009 22:55:33 +0000 (22:55 +0000)
maintenance/language/date-formats.php
maintenance/language/digit2html.php
maintenance/preprocessorFuzzTest.php

index 834d2bd..7adccf7 100644 (file)
@@ -8,7 +8,7 @@ $ts = '20010115123456';
 
        
 $IP = dirname( __FILE__ ) . '/../..';
-require_once( "$IP/maintenance/commandLine.inc" );
+require_once( dirname(__FILE__).'/../commandLine.inc' );
 
 foreach ( glob( "$IP/languages/messages/Messages*.php" ) as $filename ) {
        $base = basename( $filename );
index b020d81..1ac746d 100644 (file)
@@ -4,7 +4,7 @@
  * @ingroup MaintenanceLanguage
  */
 
-require( '../commandLine.inc' );
+require_once( dirname(__FILE__).'/../commandLine.inc' );
 
 # A list of unicode numerals is available at:
 # http://www.fileformat.info/info/unicode/category/Nd/list.htm
index 34960e0..0569730 100644 (file)
@@ -4,7 +4,7 @@
  * @ingroup Maintenance
  */
 
-require_once( dirname( __FILE__ ). '/../maintenance/commandLine.inc' );
+require_once( 'commandLine.inc' );
 
 $wgHooks['BeforeParserFetchTemplateAndtitle'][] = 'PPFuzzTester::templateHook';