X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fcollation%2FIcuCollation.php;h=e0eb1c13c83e18b200e534c73084e6750bce7b66;hb=3a2a707546344574c33f7ad7cbff46bfa2b74443;hp=7b4fce6f279eb84f6fbdb48c6cf4294a0ee01c34;hpb=779aa4ce5abc256f334ecb3495a399ec1e96669e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/collation/IcuCollation.php b/includes/collation/IcuCollation.php index 7b4fce6f27..e0eb1c13c8 100644 --- a/includes/collation/IcuCollation.php +++ b/includes/collation/IcuCollation.php @@ -330,6 +330,7 @@ class IcuCollation extends Collation { $cache = ObjectCache::getLocalServerInstance( CACHE_ANYTHING ); $cacheKey = $cache->makeKey( 'first-letters', + static::class, $this->locale, $this->digitTransformLanguage->getCode(), self::getICUVersion(), @@ -512,8 +513,12 @@ class IcuCollation extends Collation { * can't be determined. * * The constant INTL_ICU_VERSION this function refers to isn't really - * documented. It is available since PHP 5.3.7 (see PHP bug 54561). - * This function will return false on older PHPs. + * documented. It is available since PHP 5.3.7 (see PHP 54561 + * https://bugs.php.net/bug.php?id=54561). This function will return + * false on older PHPs. + * + * TODO: Remove the backwards-compatibility as MediaWiki now requires + * higher levels of PHP. * * @since 1.21 * @return string|bool