[Mediawiki-l] Transclusion problem

Tim Ware tim at hyperarts.com
Sat Dec 30 15:53:30 UTC 2006


I'm trying to transclude content from a template on one wiki to  
another, both under the same domain, in different subdomains, running  
off of one MW install v.1.8.2.

I've added this to LocalSettings.php:
$wgEnableScaryTranscluding = true;

In phpMyAdmin, for the wiki that will receive the content:

I set iw_local: 1
iw_trans: 1

If I have this for iw_url:
http://against-the-day.pynchonwiki.com/wiki/$1

and this code on the target wiki page:

{{pwiki:Help}} (Help is a template I created)

I get this in the preview:

[Template fetch failed for http://against-the-day.pynchonwiki.com/
wiki/Template%3AHelp?action=render; sorry]

If I have this for the iw_url:
http://against-the-day.pynchonwiki.com/wiki/index.php?title=$1

it pulls in the whole page, styles and all. Doesn't work at all.

For some reason, the colon is getting read as "%3A".

Thanks.  Tim



More information about the MediaWiki-l mailing list