X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FGlobalFunctions.php;h=70784ba5a7542e58b3b89fc3aacfe2973cd19160;hb=24ebca2251f94a20acee53e583d65aa7fac2c15d;hp=089ed81d7825cc8eaf0060d01bf51e2d9e08a544;hpb=08e0ed2b70ba5986a96c701f84a7679c98a6f2fd;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 089ed81d78..70784ba5a7 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -3461,6 +3461,7 @@ function wfGetMessageCacheStorage() { /** * Get the cache object used by the parser cache * + * @deprecated since 1.30, use MediaWikiServices::getParserCache()->getCacheStorage() * @return BagOStuff */ function wfGetParserCacheStorage() { @@ -3616,6 +3617,7 @@ function wfCanIPUseHTTPS( $ip ) { * @since 1.25 */ function wfIsInfinity( $str ) { + // These are hardcoded elsewhere in MediaWiki (e.g. mediawiki.special.block.js). $infinityValues = [ 'infinite', 'indefinite', 'infinity', 'never' ]; return in_array( $str, $infinityValues ); }