Could $wgUseSharedUploads (and associated settings) not be used to accomplish this? I've used this previously without issue (admittedly, only up to 1.15.x).
I realise it was "replaced" by $wgForeignFileRepos, but I have to agree that it is extremely difficult to understand how to use the setting from the documentation. Setting up a "wiki family" with shared images using UseSharedUploads was fairly straight-forward, but I can't even figure out with certainty if it is possible with ForeignFileRepos (maybe ForeignDBRepo? It's not clear), let alone how to actually accomplish it...
Regards, Daniel
On 15 June 2011 02:12, Ling Hwee Ting lihat88@gmail.com wrote:
Hi Kilian, thank you for your reply. I tried understanding Manual:$wgForeignFileRepos but without much success. Anyway, thank you very much. Maybe I should just treat them as two separate websites.
On Sat, Jun 11, 2011 at 12:03 AM, Kilian drehbuehne@texttheater.net wrote:
On 06/11/2011 03:46 AM, Ling Hwee Ting wrote:
Hi, I have two websites on the same topic and I am trying to use one image folder so that both websites can share the same images
That's not possible, each wiki stores information about its images in a database table. What is not in the table will not be found.
If you want to share images between two or more MediaWiki installations, here's what you need: http://www.mediawiki.org/wiki/Manual:$wgForeignFileRepos
-Kilian
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l