47 if ( is_string( $wikiId ) &&
WikiMap::getCurrentWikiId() === $wikiId ) {
48 $wikiId = Block::LOCAL;
51 $storeCacheKey = $wikiId === Block::LOCAL ?
'LOCAL' :
'crosswikistore-' . $wikiId;
52 if ( !isset( $this->storeCache[$storeCacheKey] ) ) {
53 $this->storeCache[$storeCacheKey] =
new BlockUtils(
54 $this->crossWikiBlockTargetFactory->getFactory( $wikiId )
57 return $this->storeCache[$storeCacheKey];