On Sun, Dec 6, 2009 at 10:53 AM, Platonides <[email protected]> wrote: > Ekompute .info wrote: >> Hi, has it to be anyone of one of these? >> http://dummipedia.com/wikione/ http://dummipedia.com/wikitwo/ >> http://dummipedia.com/wikithree/ ? >> >> I think I am really lost. What GoDaddy provides is >> http://health.dummipedia.org and http://kesihatan.jbdirectory.com ( >> jbdirectory.com is my url for Malay language). > > 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 > [email protected] > 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 _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
