On Sun, Dec 6, 2009 at 10:53 AM, Platonides <Platonides(a)gmail.com> wrote:
Ekompute .info wrote:
It doesn't matter which url layout you provide. I just wanted to know
which one did you use.
I realize that the folder that occupies the most
space is the Image folder,
so I tried to share the two. Since the two abovementioned websites are a
translation of one another, I upload all images into the "health" image
subfolder and then try to access it from the Kesihatan website by adding
this line in the LocalSettings.php of the "kesihatan folder" but it failed:
$wgUploadDirectory = "http://dummipedia.com/health/images";
PM Poon
That won't work.
You would use a ForeignAPIRepo to share the uploads from one into the
other.
http://www.mediawiki.org/wiki/Manual:$wgForeignFileRepos
For pointing both wikis to the same folder to work, you would need to
share ($wgSharedDB) the image tables (image, oldimage, filearchive), as
well as the users (user, user_properties).
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
You can use ForeignDBRepo like we do at Commons. No need to muck
about with $wgSharedDB.
-Chad