On 3/6/09 1:28 AM, Tim Larson wrote: > I wanted to experiment with a "commons" site, so I created two sites, uploaded > one file to each, and got the first to pull media from the other if it didn't > exist locally. Yay! > > I also set up my wikishare to use MW Commons. This works nicely, insofar as > it loads images from MWC. But the description of this feature said the files > were supposed to be fetched once then cached locally to save on bandwidth. > So...shouldn't the MWC image now be available to wiki1, as well?
It sounds to me like you're using a ForeignDBRepo config for your 'wiki1' to pull images from your 'wikishare'. This will only be able to see images which are present locally in the 'wikishare' database, since it peeks straight into your database and filesystem. In this case, you'll need to use the ForeignAPIRepo configuration to pull from Wikimedia Commons on both 'wikishare' and 'wiki1'. Alternatively you could also use ForeignAPIRepo to pull 'wikishare' images to 'wiki1' -- in this case it will happily "chain" things over from Wikimedia Commons, but it won't be as efficient for the local case. -- brion vibber (brion @ wikimedia.org) _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
