Index: trunk/extensions/CentralNotice/special/SpecialNoticeTemplate.php |
— | — | @@ -513,8 +513,8 @@ |
514 | 514 | $htmlOut .= Xml::fieldset( wfMsg( 'centralnotice-change-lang' ) ); |
515 | 515 | $htmlOut .= Html::hidden( 'template', $currentTemplate ); |
516 | 516 | $htmlOut .= Html::openElement( 'table', array ( 'cellpadding' => 9 ) ); |
517 | | - // TODO: Change this to use CLDR |
518 | | - list( $lsLabel, $lsSelect ) = Xml::languageSelector( $wpUserLang ); |
| 517 | + // Retrieve the language list |
| 518 | + list( $lsLabel, $lsSelect ) = Xml::languageSelector( $wpUserLang, true, $wgLang->getCode() ); |
519 | 519 | |
520 | 520 | $newPage = $this->getTitle( 'view' ); |
521 | 521 | |