For the maintenance/ directory files:
[lhc/web/wiklou.git] / maintenance / language / diffLanguage.php
index 2aaa590..b8d5e71 100644 (file)
@@ -75,7 +75,8 @@ function ucfirstlcrest($string) {
 function getMediawikiMessages($languageCode = 'En') {
 
        $foo = "wgAllMessages$languageCode";
-       global $$foo, $wgSkinNamesEn;
+       global $$foo;
+       global $wgSkinNamesEn; // potentially unused global declaration?
 
        // it might already be loaded in LocalSettings.php
        if(!isset($$foo)) {
@@ -83,7 +84,7 @@ function getMediawikiMessages($languageCode = 'En') {
                $langFile = $IP.'/languages/classes/Language'.$languageCode.'.php';
                if (file_exists( $langFile ) ) {
                        print "Including $langFile\n";
-                       global $wgNamespaceNamesEn;
+                       global $wgNamespaceNamesEn;  // potentially unused global declaration?
                        include($langFile);
                } else wfDie("ERROR: The file $langFile does not exist !\n");
        }