[Mediawiki-l] interwiki transclusion with images - second try

Andreas Rindler arindler at jenandi.com
Thu Aug 2 11:46:48 UTC 2007

On 02/08/07, Thomas Dalton <thomas.dalton at gmail.com> wrote:
> > The solution is to add the below to LocalSettings.php on the source wiki:
> > $wgUploadBaseUrl=$wgServer;
> >
> > This adds the proper scr= attribute to the <img> tag which means that
> > the transcluded article also pulls through the image.
> >
> > Make sure you also set the following on the local wiki:
> > $wgAllowExternalImages = true;
> > $wgEnableScaryTranscluding = true;
> >
> >
> > So no $wgSharedUploadXXX configuration or NFS configuration is
> > necessary at all.
> Allowing all external images is rather overkill. If you just want
> images from one other wiki, shareduploads seems like your best bet.
> Since it's an internal wiki you're talking about, turning on external
> images is ok, but it isn't generally a good idea on publicly editable
> wikis.
But in order to use shareduploads I have to create a NFS connection to
the public (remote) wiki, that's at least the suggestion from previous
comments on this thread. And NFS seems overkill if all I want is to
transclude articles.

In my case, I will actually work on getting NFS to work anyway,
because I think there is a value add in enabling this feature between
the two wikis. but it's not a necessity and if it is going to be too
much of a hassle, I will leave it.

More information about the MediaWiki-l mailing list