Thread:Project:Support desk/Include files of de:wikipedia/reply (6)

I set this in the localsettings: $wgForeignFileRepos[] = array(  'class'                   => 'ForeignAPIRepo',   'name'                    => 'commonswiki', // Must be a distinct name   'apibase'                 => 'https://commons.wikimedia.org/w/api.php',   'hashLevels'              => 2,   'fetchDescription'        => true, // Optional   'descriptionCacheExpiry'  => 43200, // 12 hours, optional (values are seconds)   'apiThumbCacheExpiry'     => 86400, // 24 hours, optional, but required for local thumb caching   ); then I try with
 * $wgUseInstantCommons = yes and no have the same effect - a link will be created but not a thumb will be created
 * //$wgUseInstantCommons = ; -> not a link is created