summaryrefslogtreecommitdiff
path: root/maintenance/checktrans.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/checktrans.php')
-rw-r--r--maintenance/checktrans.php30
1 files changed, 0 insertions, 30 deletions
diff --git a/maintenance/checktrans.php b/maintenance/checktrans.php
deleted file mode 100644
index ebab4c7d..00000000
--- a/maintenance/checktrans.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-/**
- * @package MediaWiki
- * @subpackage Maintenance
- * Check to see if all messages have been translated into the selected language.
- * To run this script, you must have a working installation, and it checks the
- * selected language of that installation.
- */
-
-/** */
-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 ( $wgAllMessagesEn as $code => $msg ) {
- ++$total;
- if ( ! array_key_exists( $code, $$msgarray ) ) {
- print "'{$code}' => \"$msg\",\n";
- ++$count;
- }
-}
-
-print "{$count} messages of {$total} not translated.\n";
-?>