Hi,
I am proud to announce that yesterday I had a meeting on the company
techcology department and they have agreed to iniciate some tests with the
script that allows mediawiki to use files from wikimedia commons.
Meanwhile I would like to do some tests by my own on the wiki I installed
locally at home. I have to write the code below to enable media files from
wikimedia commons, Where do I have to write it? Is there a specific line of
Localsettings?
$wgForeignFileRepos[] = array(
'class' => 'ForeignAPIRepo',
'name' => 'shared',
'apibase' =>
'http://commons.wikimedia.org/w/api.php',
'fetchDescription' => true, // Optional
'descriptionCacheExpiry' => 43200, // 12 hours, optional
'apiThumbCacheExpiry' => 43200, // 12 hours, optional, but
required for local thumb caching
);
Thanks in advance, Nevio
--
{+}Nevinho
Venha para o Movimento Colaborativo
http://sextapoetica.com.br !!