[Mediawiki-l] getThumbUrlFromCache could not write to thumb path

Rolf Lampa [RIL] rolf.lampa at rilnet.com
Mon Jun 22 20:51:31 UTC 2009


Hi,

I have the following settings, and it works fine:

$wgUploadPath                  = "$wgScriptPath/images";
$wgUploadDirectory             = "{$IP}/images"; // Required for local 
images, even if using commons
$wgHashedSharedUploadDirectory = true; // Enable hash (path/a/aa/) 
directory layout.
$wgHashedUploadDirectory       = true;
$wgEnableUploads               = true;

plus making the directory hashed (/a/b/) by adding the extra line below 
in the ForeignAPIRepo  settings:

Enrique wrote:
> hi
> i'm trying configure $wgForeignFileRepos to see images of wikipedia on
> my local wiki. to do have configured to curl request:
>
> <...>
> $wgForeignFileRepos[] = array(
>   'class' => 'ForeignAPIRepo',
>   'name'                    => 'shared',
>   
    'hashLevels'          => '2',
>   'apibase'                 => 'http://commons.wikimedia.org/w/api.php',
>   'fetchDescription'        => false, 
>   'descriptionCacheExpiry'  => 43200, 
>   'apiThumbCacheExpiry'     => 43200, 
>
> );;
>   

Regards,

// Rolf Lampa


More information about the MediaWiki-l mailing list