From 43dd8dd7e9f3cbe706840aabb02dc83055d7d0f3 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 16 Feb 2012 02:52:11 +0000 Subject: [PATCH] Followup r107002 Add a TODO to do this via hook or similar --- includes/Xml.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/Xml.php b/includes/Xml.php index 663a852033..3b043eb024 100644 --- a/includes/Xml.php +++ b/includes/Xml.php @@ -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 ) { -- 2.20.1