From: Bartosz DziewoƄski Date: Thu, 13 Aug 2015 14:31:39 +0000 (+0200) Subject: Expose ICU version on Special:Version X-Git-Tag: 1.31.0-rc.0~10390^2 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=63a2e643e99115ccd0c5499b37ecc5b4524c1a72;p=lhc%2Fweb%2Fwiklou.git Expose ICU version on Special:Version ICU (International Components for Unicode) is used to implement ordering of category members (category collation) when $wgCategoryCollation is set to one of the supported "uca-xx" collations. Its version determines whether the ordering will be correct for a number of languages MediaWiki supports. Change-Id: Id938a9510074f1743a57a840590cabcf3b90a103 --- diff --git a/includes/specials/SpecialVersion.php b/includes/specials/SpecialVersion.php index e598f0bfa9..f6fa5ea36f 100644 --- a/includes/specials/SpecialVersion.php +++ b/includes/specials/SpecialVersion.php @@ -215,6 +215,10 @@ class SpecialVersion extends SpecialPage { } $software[$dbr->getSoftwareLink()] = $dbr->getServerInfo(); + if ( IcuCollation::getICUVersion() ) { + $software['[http://site.icu-project.org/ ICU]'] = IcuCollation::getICUVersion(); + } + // Allow a hook to add/remove items. Hooks::run( 'SoftwareInfo', array( &$software ) );