Hi Platonides, thank you for your reply. I will give it a second try and I
couldn't understand the explanation the first time round.
PM Poon
On Sat, May 2, 2009 at 7:48 PM, Platonides <Platonides(a)gmail.com> wrote:
Ekompute .info wrote:
Hi, can anyone help me interprete the following
passage from
Mediawiki.org:$wgUseSharedUploads<
http://www.mediawiki.org/wiki/Manual:$wgUseSharedUploads>
:
If you operate multiple wikis, you can define a shared upload path using
$wgSharedUploadPath<
http://www.mediawiki.org/wiki/Manual:$wgSharedUploadPath>gt;.
If $wgUseSharedUploads is set, the wiki will look
in the shared
repository
if no file of the given name is found in the
local repository (for
[[Image:..]], [[Media:..]] links).
Thumbnails will also be looked for and generated in this directory.
Uploads to the wiki will NOT be put there - they will be put into
$wgUploadDirectory <
http://www.mediawiki.org/wiki/Manual:$wgUploadDirectory>
.
Presently, I am operating multiple wikis and I think this is a good idea,
but the above instructions assume some background knowledge and are
incomprehensible for a novice like me. Supposing I create a new wiki and
database just to upload images and article categories (as in Wikipedia).
How
should I go about doing it?
PM Poon
Take a look to
http://www.mediawiki.org/wiki/Manual:$wgForeignFileRepos
That's explained with more detail.
$wgUploadDirectory will end up setting a ForeignFileRepo property, so
you can use $wgForeignFileRepos instead, or take from there the
parameters you need.
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l