diff options
Diffstat (limited to 'maintenance/language/StatOutputs.php')
-rw-r--r-- | maintenance/language/StatOutputs.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/maintenance/language/StatOutputs.php b/maintenance/language/StatOutputs.php index c6d03641..befd0d72 100644 --- a/maintenance/language/StatOutputs.php +++ b/maintenance/language/StatOutputs.php @@ -21,7 +21,7 @@ if ( !defined( 'MEDIAWIKI' ) ) die(); * @file * @ingroup MaintenanceLanguage * @author Ævar Arnfjörð Bjarmason <avarab@gmail.com> - * @author Ashar Voultoiz <hashar at free dot fr> + * @author Antoine Musso <hashar at free dot fr> */ /** A general output object. Need to be overriden */ @@ -54,7 +54,7 @@ class wikiStatsOutput extends statsOutput { echo 'English (en) is excluded because it is the default localization'; if( is_array( $wgDummyLanguageCodes ) ) { $dummyCodes = array(); - foreach( $wgDummyLanguageCodes as $dummyCode ) { + foreach( $wgDummyLanguageCodes as $dummyCode => $correctCode ) { $dummyCodes[] = $wgContLang->getLanguageName( $dummyCode ) . ' (' . $dummyCode . ')'; } echo ', as well as the following languages that are not intended for system message translations, usually because they redirect to other language codes: ' . implode( ', ', $dummyCodes ); |