Use commandLine.inc
authorAntoine Musso <hashar@users.mediawiki.org>
Fri, 11 Jun 2004 03:02:34 +0000 (03:02 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Fri, 11 Jun 2004 03:02:34 +0000 (03:02 +0000)
maintenance/DiffLanguage.php

index 7857635..89955c5 100644 (file)
 # The script then print a list of wgAllMessagesXX keys that aren't
 # localised, a percentage of messages correctly localised and the
 # number of messages to be translated.
-#
-#
-# Known bugs:
-# - File paths are hardcoded
-#
-
-
-$wgCommandLineMode = true;
-# Turn off output buffering if it's on
-@ob_end_flush();
 
-require_once("../LocalSettings.php");
-require_once( "../includes/Setup.php" );
-require_once( "../install-utils.inc" );
+require_once( "commandLine.inc" );
 
 $wgLanguageCode = strtoupper(substr($wgLanguageCode,0,1)).strtolower(substr($wgLanguageCode,1));