[Mediawiki-l] FSRepo - wgForeignFileRepos
thdemon
thdemon at gmx.de
Tue Oct 14 16:28:43 UTC 2008
Hi,
I want to use a folder with images in my MW installation and found the
variable $wgForeignFileRepos [1]. But I don't know how to add an
simple folder without an API or Database ... something like the
following:
$wgForeignFileRepos[] = array(
'class' => 'FSRepo',
'name' => 'shared2FSRepo ',
'directory' => '/srv/images/',
'url' => 'http://myhost.ltd/images/'
);
Maybe someone may add examples for the other "classes" ... LocalRepo,
ForeignDBRepo, FSRepo and ForeignAPIRepo. ... to the existing one for
Commons ?
best regards
Thomas
_________
[1] http://www.mediawiki.org/wiki/Manual:$wgForeignFileRepos
More information about the MediaWiki-l
mailing list