</rule>
<rule ref="MediaWiki.NamingConventions.ValidGlobalName">
<properties>
- <property name="ignoreList" type="array" value="$IP,$messageMemc,$parserMemc" />
+ <property name="ignoreList" type="array" value="$IP,$messageMemc" />
</properties>
</rule>
<rule ref="Generic.Files.LineLength">
* The protected methods PHPSessionHandler::returnSuccess() and returnFailure(),
only needed for PHP5 compatibility, have been removed. It now uses the boolean
values `true` and `false` respectively.
+* The $parserMemc global and wfGetParserCacheStorage(), deprecated since 1.30,
+ were removed. Use the ParserCache class instead.
=== Deprecations in 1.32 ===
* Use of a StartProfiler.php file is deprecated in favour of placing
$wgRequest
WebRequest object, to get request data
-$wgMemc, $messageMemc, $parserMemc
+$wgMemc, $messageMemc
Object caches
return ObjectCache::getInstance( $wgMessageCacheType );
}
-/**
- * Get the cache object used by the parser cache
- *
- * @deprecated since 1.30, use MediaWikiServices::getParserCache()->getCacheStorage()
- * @return BagOStuff
- */
-function wfGetParserCacheStorage() {
- global $wgParserCacheType;
- return ObjectCache::getInstance( $wgParserCacheType );
-}
-
/**
* Call hook functions defined in $wgHooks
*
$wgMemc = wfGetMainCache();
$messageMemc = wfGetMessageCacheStorage();
-/**
- * @deprecated since 1.30
- */
-$parserMemc = new DeprecatedGlobal( 'parserMemc', function () {
- return MediaWikiServices::getInstance()->getParserCache()->getCacheStorage();
-}, '1.30' );
-
wfDebugLog( 'caches',
'cluster: ' . get_class( $wgMemc ) .
', WAN: ' . ( $wgMainWANCache === CACHE_NONE ? 'CACHE_NONE' : $wgMainWANCache ) .