[Mediawiki-l] $wgSharedUploadPath

Ekompute .info ekompute at gmail.com
Fri May 1 17:05:57 UTC 2009


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>.
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


More information about the MediaWiki-l mailing list