From e464f316fb20d734af2bc1d9cbe3278f98b56587 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Fri, 11 Jun 2004 03:02:34 +0000 Subject: [PATCH] Use commandLine.inc --- maintenance/DiffLanguage.php | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/maintenance/DiffLanguage.php b/maintenance/DiffLanguage.php index 7857635f43..89955c53c8 100644 --- a/maintenance/DiffLanguage.php +++ b/maintenance/DiffLanguage.php @@ -34,20 +34,8 @@ # 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)); -- 2.20.1