3 * Prints out messages that are the same as the message with the corrisponding
4 * key in the Language.php file
7 * @subpackage Maintenance
10 require_once('commandLine.inc');
12 if ( 'en' == $wgLanguageCode ) {
13 print "Current selected language is English. Cannot check translations.\n";
18 $msgarray = 'wgAllMessages' . ucfirst( $wgLanguageCode );
20 foreach ( $
$msgarray as $code => $msg ) {
22 if ( @$wgAllMessagesEn[$code] == $msg ) {
28 echo "{$count} messages of {$total} are duplicates\n";