r94939 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94938‎ | r94939 | r94940 >
Date:20:40, 18 August 2011
Author:reedy
Status:ok
Tags:
Comment:
Fix Language::getFallbacskFor typo
Modified paths:
  • /trunk/extensions/Translate/utils/TranslationHelpers.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/utils/TranslationHelpers.php
@@ -997,7 +997,7 @@
998998
999999 // BC <1.19
10001000 if ( method_exists( 'Language', 'getFallbacksFor' ) ) {
1001 - $list = Language::getFallbacskFor( $code );
 1001+ $list = Language::getFallbacksFor( $code );
10021002 array_pop( $list ); // Get 'en' away from the end
10031003 $fallbacks = array_merge( $list , $fallbacks );
10041004 } else {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r94907Attempt to fix Bug 30216 - Improve language fallback loop detection....nikerabbit16:41, 18 August 2011

Status & tagging log