58 if ( is_string( $wikiId ) && $this->loadBalancerFactory->getLocalDomainID() === $wikiId ) {
59 $wikiId = WikiAwareEntity::LOCAL;
62 $storeCacheKey = $wikiId === WikiAwareEntity::LOCAL ?
'LOCAL' :
'crosswikistore-' . $wikiId;
63 if ( !isset( $this->storeCache[$storeCacheKey] ) ) {
65 $this->loadBalancerFactory,
66 $this->blockTargetMigrationStage,
70 return $this->storeCache[$storeCacheKey];