From: Jimmy Collins Date: Sun, 16 Jul 2006 12:44:44 +0000 (+0000) Subject: Renamed maintainace script redundanttrans.php to unusedMessages.php like X-Git-Tag: 1.31.0-rc.0~56215 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=54f1bd32fd0b016ae4d6101ac4c2cfe9d721b6a7;p=lhc%2Fweb%2Fwiklou.git Renamed maintainace script redundanttrans.php to unusedMessages.php like discussed in #mediawiki (clearer usage) --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index a53ca76ef9..29e783b6f6 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -67,6 +67,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN (blocked mid-edit) and the page doesn't exist * Improve default value of "blockedtext" * (bug 6680) Added localisation for Dutch bookstore list (nl) +* Renamed maintainace script redundanttrans.php to unusedMessages.php - clearer usage == Languages updated == diff --git a/maintenance/redundanttrans.php b/maintenance/redundanttrans.php deleted file mode 100644 index de09686346..0000000000 --- a/maintenance/redundanttrans.php +++ /dev/null @@ -1,28 +0,0 @@ - $msg ) { - ++$total; - if ( ! array_key_exists( $code, $wgAllMessagesEn ) ) { - print "* $code\n"; - ++$count; - } -} - -print "{$count} messages of {$total} are redundant\n"; -?> diff --git a/maintenance/unusedMessages.php b/maintenance/unusedMessages.php new file mode 100644 index 0000000000..1cdfcbad29 --- /dev/null +++ b/maintenance/unusedMessages.php @@ -0,0 +1,28 @@ + $msg ) { + ++$total; + if ( ! array_key_exists( $code, $wgAllMessagesEn ) ) { + print "* $code\n"; + ++$count; + } +} + +print "{$count} messages of {$total} are unused\n"; +?>