r111454 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111453‎ | r111454 | r111455 >
Date:09:35, 14 February 2012
Author:tstarling
Status:ok
Tags:
Comment:
Merged r111452 from 1.19
Modified paths:
  • /branches/wmf/1.19wmf1/extensions/cldr/LanguageNames.body.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.19wmf1/extensions/cldr/LanguageNames.body.php
@@ -84,6 +84,10 @@
8585 */
8686 private static function loadLanguage( $code ) {
8787 if ( !isset( self::$cache[$code] ) ) {
 88+ if ( !Language::isValidBuiltInCode( $code ) ) {
 89+ return array();
 90+ }
 91+
8892 wfProfileIn( __METHOD__ . '-recache' );
8993
9094 /* Load override for wrong or missing entries in cldr */
Property changes on: branches/wmf/1.19wmf1/extensions/cldr/LanguageNames.body.php
___________________________________________________________________
Added: svn:mergeinfo
9195 Merged /branches/sqlite/extensions/cldr/LanguageNames.body.php:r58211-58321
9296 Merged /trunk/phase3/extensions/cldr/LanguageNames.body.php:r111002,111029,111034,111062,111067,111076,111085,111128,111144,111251
9397 Merged /branches/new-installer/phase3/extensions/cldr/LanguageNames.body.php:r43664-66004
9498 Merged /branches/JSTesting/extensions/cldr/LanguageNames.body.php:r100352-107913
9599 Merged /branches/REL1_15/phase3/extensions/cldr/LanguageNames.body.php:r51646
96100 Merged /branches/wmf/1.18wmf1/extensions/cldr/LanguageNames.body.php:r97508
97101 Merged /branches/REL1_19/extensions/cldr/LanguageNames.body.php:r111452
98102 Merged /branches/REL1_17/phase3/extensions/cldr/LanguageNames.body.php:r81445,81448
99103 Merged /trunk/extensions/cldr/LanguageNames.body.php:r111199,111218

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r111451* Fixed an exception generated with {{#language:<nowiki>xx</nowiki>}} due to ...tstarling09:17, 14 February 2012
r111452Fix exception like in trunk r111349, simplified for easier mergingtstarling09:25, 14 February 2012

Status & tagging log