X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FStorage%2FSqlBlobStore.php;h=d7216c5c7209c91d21e63a435fb39606b023ab1e;hb=36eed95b9a198e867e092cd21617d66c9c18bae9;hp=48ffe2c903082dc752fba91e706ca4e65fb9b795;hpb=e143c40fee88922eb393a88f94e60afc439d1f49;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Storage/SqlBlobStore.php b/includes/Storage/SqlBlobStore.php index 48ffe2c903..d7216c5c72 100644 --- a/includes/Storage/SqlBlobStore.php +++ b/includes/Storage/SqlBlobStore.php @@ -94,7 +94,12 @@ class SqlBlobStore implements IDBAccessObject, BlobStore { /** * @param LoadBalancer $dbLoadBalancer A load balancer for acquiring database connections - * @param WANObjectCache $cache A cache manager for caching blobs + * @param WANObjectCache $cache A cache manager for caching blobs. This can be the local + * wiki's default instance even if $wikiId refers to a different wiki, since + * makeGlobalKey() is used to constructed a key that allows cached blobs from the + * same database to be re-used between wikis. For example, enwiki and frwiki will + * use the same cache keys for blobs from the wikidatawiki database, regardless of + * the cache's default key space. * @param bool|string $wikiId The ID of the target wiki database. Use false for the local wiki. */ public function __construct(