3 * Prints out messages that are no longer used.
6 * @subpackage Maintenance
9 require_once('commandLine.inc');
11 if ( 'en' == $wgLanguageCode ) {
12 print "Current selected language is English. Cannot check translations.\n";
17 $msgarray = 'wgAllMessages' . ucfirst( $wgLanguageCode );
19 foreach ( $
$msgarray as $code => $msg ) {
21 if ( ! array_key_exists( $code, $wgAllMessagesEn ) ) {
27 print "{$count} messages of {$total} are redundant\n";