Followup r107002
authorSam Reed <reedy@users.mediawiki.org>
Thu, 16 Feb 2012 02:52:11 +0000 (02:52 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Thu, 16 Feb 2012 02:52:11 +0000 (02:52 +0000)
Add a TODO to do this via hook or similar

includes/Xml.php

index 663a852..3b043eb 100644 (file)
@@ -196,6 +196,7 @@ class Xml {
        public static function languageSelector( $selected, $customisedOnly = true, $language = null ) {
                global $wgLanguageCode;
 
+               // TODO: This should be replaced with a hook or something, from r107002
                // If a specific language was requested and CLDR is installed, use it
                if ( $language && is_callable( array( 'LanguageNames', 'getNames' ) ) ) {
                        if ( $customisedOnly ) {