r82255 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82254‎ | r82255 | r82256 >
Date:16:29, 16 February 2011
Author:catrope
Status:ok
Tags:
Comment:
1.17wmf1: MFT r82253
Modified paths:
  • /branches/wmf/1.17wmf1/includes/MessageCache.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/includes/MessageCache.php
@@ -518,9 +518,7 @@
519519 throw new MWException( "Bad lang code $langcode given" );
520520 }
521521
522 - // Don't change getPreferredVariant() to getCode() / mCode, for
523 - // more details, see the comment in Language::getMessage().
524 - $langcode = $lang->getPreferredVariant();
 522+ $langcode = $lang->getCode();
525523
526524 $message = false;
527525

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r82253revert r77452, r80492 and r82246.philip16:07, 16 February 2011

Status & tagging log