[Mediawiki-l] Cache for media from ForeignAPIRepo

Rolf Lampa rolf.lampa at rilnet.com
Sat Jan 10 13:31:38 UTC 2009


I tried to figure out how local caching for media from ForeignAPIRepo is 
handled, but it seems like no chached images are created using only 
these settings:

$wgForeignFileRepos[] = array(
  'class'               => 'ForeignAPIRepo',
  'name'                => 'shared',
  'apibase'             => 'http://commons.wikimedia.org/w/api.php',
  'fetchDescription'    => false, // Optional
  'apiThumbCacheExpiry' => 43200, 
);

Is there an option to switch on for local caching, or does wikmedia.org 
prefer supporting bandwith thefts (like me)? :-)

// Rolf Lampa



More information about the MediaWiki-l mailing list