$wgUseSharedUploads and friends are these days implemented by automatically
copying the settings into $wgForeignFileRepos, so it shouldn't matter which
you use in theory. The latter is more flexible if you need it.

-- brion
On Jun 15, 2011 5:05 AM, "Daniel Bishop" <[email protected]> wrote:
> 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 <[email protected]> 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 <[email protected]>
>> 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
>> > [email protected]
>> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>> >
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> [email protected]
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to