2010/5/26 Jim Tittsler <j...@onnz.net>: > On 2010-05-25 23:41, Peter17 wrote: >> 2010/5/25 Platonides <platoni...@gmail.com>:> >>> > Seems it doesn't work so well. It was inadvertedly broken for wikitext >>> > transclusions when the interwiki points to the nice url. See >>> > 'wgEnableScaryTranscluding and Templates/Images?' thread at mediawiki-l >>> > >> Well, in my tests, images are well included because I enabled >> $wgUseInstantCommons. As I wrote, "the parameters are totally >> ignored": they are indeed not substituted. > > I found it a little surprising that $wgUploadPath needed to be an > absolute path for this to work. I had imagined that as part of the > transclusion the img URLs would have been transformed into the > necessary remote wiki URL. >
I didn't set $wgUploadPath. Just $wgUseInstantCommons = true; The images URLs are actually transformed to remote URLs: I work on my own local wiki, which address is http://localhost/mediawiki/ and transcluding {{mediawikiwiki::User:Peter17}} which contains [[File:Exquisite-network.png]] produces: <a href="http://www.mediawiki.org/wiki/File:Exquisite-network.png" class="image"><img alt="Exquisite-network.png" src="http://upload.wikimedia.org/wikipedia/commons/e/e1/Exquisite-network.png" width="128" height="128" /></a>, so, it actually points to MediaWiki image description page and Commons image. _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l