r106584 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106583‎ | r106584 | r106585 >
Date:19:20, 18 December 2011
Author:robin
Status:ok
Tags:
Comment:
Follow-up r103640
Modified paths:
  • /trunk/phase3/maintenance/language/StatOutputs.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/language/StatOutputs.php
@@ -54,7 +54,7 @@
5555 echo 'English (en) is excluded because it is the default localization';
5656 if( is_array( $wgDummyLanguageCodes ) ) {
5757 $dummyCodes = array();
58 - foreach( $wgDummyLanguageCodes as $dummyCode ) {
 58+ foreach( $wgDummyLanguageCodes as $dummyCode => $correctCode ) {
5959 $dummyCodes[] = $wgContLang->getLanguageName( $dummyCode ) . ' (' . $dummyCode . ')';
6060 }
6161 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 );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r103640Make $wgDummyLanguageCodes an associative array so it maps to the correct cod...robin05:18, 19 November 2011

Status & tagging log