From: James D. Forrester Date: Thu, 31 May 2018 19:25:08 +0000 (-0700) Subject: Follow-up If8dfdaf1, I1c5eee3f: Don't assume INTL_ICU_VERSION exists on Special:Version X-Git-Tag: 1.34.0-rc.0~5224^2 X-Git-Url: http://git.cyclocoop.org/%22.htmlspecialchars%28%24url_syndic%29.%22?a=commitdiff_plain;h=4f32c9fe799036b9d4368a3e77036f7a2e6ac2b2;p=lhc%2Fweb%2Fwiklou.git Follow-up If8dfdaf1, I1c5eee3f: Don't assume INTL_ICU_VERSION exists on Special:Version Change-Id: Ib0d3d33d74c70949769a0bda9e3901be3d197d1d --- diff --git a/includes/specials/SpecialVersion.php b/includes/specials/SpecialVersion.php index 0258433250..911c9a63e3 100644 --- a/includes/specials/SpecialVersion.php +++ b/includes/specials/SpecialVersion.php @@ -233,7 +233,9 @@ class SpecialVersion extends SpecialPage { } $software[$dbr->getSoftwareLink()] = $dbr->getServerInfo(); - $software['[http://site.icu-project.org/ ICU]'] = INTL_ICU_VERSION; + if ( defined( 'INTL_ICU_VERSION' ) ) { + $software['[http://site.icu-project.org/ ICU]'] = INTL_ICU_VERSION; + } // Allow a hook to add/remove items. Hooks::run( 'SoftwareInfo', [ &$software ] );