Change-Id: Ib724fe0cfa866351caee89d3451b6c4b7b6a4578
return '';
}
$cache = $this->watchMsgCache;
return '';
}
$cache = $this->watchMsgCache;
- return $cache->getWithSetCallback( $count, $cache::TTL_INDEFINITE,
+ return $cache->getWithSetCallback(
+ $cache->makeKey( 'watching-users-msg', $count ),
+ $cache::TTL_INDEFINITE,
function () use ( $count ) {
return $this->msg( 'number_of_watching_users_RCview' )
->numParams( $count )->escaped();
function () use ( $count ) {
return $this->msg( 'number_of_watching_users_RCview' )
->numParams( $count )->escaped();
$cache = MediaWikiServices::getInstance()->getLocalServerObjectCache();
$method = __METHOD__;
return $cache->getWithSetCallback(
$cache = MediaWikiServices::getInstance()->getLocalServerObjectCache();
$method = __METHOD__;
return $cache->getWithSetCallback(
+ $cache->makeGlobalKey( 'imagemagick-version' ),
$cache::TTL_HOUR,
function () use ( $method ) {
global $wgImageMagickConvertCommand;
$cache::TTL_HOUR,
function () use ( $method ) {
global $wgImageMagickConvertCommand;