From: Antoine Musso Date: Fri, 11 Jun 2004 03:02:34 +0000 (+0000) Subject: Use commandLine.inc X-Git-Tag: 1.5.0alpha1~2931 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dcompta/operations/modifier.php?a=commitdiff_plain;h=e464f316fb20d734af2bc1d9cbe3278f98b56587;p=lhc%2Fweb%2Fwiklou.git Use commandLine.inc --- 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));