Index: branches/wmf/1.17wmf1/includes/MessageCache.php |
— | — | @@ -518,9 +518,7 @@ |
519 | 519 | throw new MWException( "Bad lang code $langcode given" ); |
520 | 520 | } |
521 | 521 | |
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(); |
525 | 523 | |
526 | 524 | $message = false; |
527 | 525 | |