]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - maintenance/redundanttrans.php
MediaWiki 1.11.0
[autoinstallsdev/mediawiki.git] / maintenance / redundanttrans.php
diff --git a/maintenance/redundanttrans.php b/maintenance/redundanttrans.php
deleted file mode 100644 (file)
index de09686..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-/**
- * Prints out messages that are no longer used.
- *
- * @package MediaWiki
- * @subpackage Maintenance
- */
-
-require_once('commandLine.inc');
-
-if ( 'en' == $wgLanguageCode ) {
-       print "Current selected language is English. Cannot check translations.\n";
-       exit();
-}
-
-$count = $total = 0;
-$msgarray = 'wgAllMessages' . ucfirst( $wgLanguageCode );
-
-foreach ( $$msgarray as $code => $msg ) {
-       ++$total;
-       if ( ! array_key_exists( $code, $wgAllMessagesEn ) ) {
-               print "* $code\n";
-               ++$count;
-       }
-}
-
-print "{$count} messages of {$total} are redundant\n";
-?>