hello,
at the beginning, my english is not very well.
I've two different wikis (a German & an Italian WIki), they are connected via interwiki links. These Wikis have a CommonSettings.php.
How I can use images for the German and Italian Wiki at the same time?
At the moment the CommonSettings.php looks like:
## To enable image ads, make sure the 'images' directory ## is writable, then uncomment this: $wgEnableUploads = true; $wgUseImageResize = true; $wgUseImageMagick = true; $wgImageMagickConvertCommand = "/usr/local/bin/convert"; ###################################### # If you operate multiple wikis, you can define a shared upload # path here. Uploads to this wiki will NOT be put there - they # will be put into $wgUploadDirectory. # # 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. # $wgSharedUploadPath = 'http://www.xxx.ch/common/wiki/images'; # Path on the file system where shared uploads can be found $wgSharedUploadDirectory = '/home/xxx/public_html/common/wiki/images'; # Set this to false especially if you have a set of files that need to be # accessible by all wikis, and you do not want to use the hash (path/a/aa/) # directory layout. $wgHashedSharedUploadDirectory = true; $wgSharedUploadDBname = 'The German(default) Wiki';
$wgUploadPath = "http://www.xxx.ch/common/wiki/images"; $wgUploadDirectory = "/home/xxx/public_html/common/wiki/images"; #######################################
andy