r106914 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106913‎ | r106914 | r106915 >
Date:01:15, 21 December 2011
Author:kaldari
Status:ok
Tags:
Comment:
now with CLDR! This rev depends on r106912
Modified paths:
  • /trunk/extensions/CentralNotice/special/SpecialNoticeTemplate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/special/SpecialNoticeTemplate.php
@@ -513,8 +513,8 @@
514514 $htmlOut .= Xml::fieldset( wfMsg( 'centralnotice-change-lang' ) );
515515 $htmlOut .= Html::hidden( 'template', $currentTemplate );
516516 $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() );
519519
520520 $newPage = $this->getTitle( 'view' );
521521

Follow-up revisions

RevisionCommit summaryAuthorDate
r107015MFT r103297, r104003, r104210, r104999, r105015, r105740, r105800, r106166, r...awjrichards23:56, 21 December 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r106912adding CLDR support to XML::languageSelector()kaldari01:14, 21 December 2011

Status & tagging log