On Dec 28, 2006, at 11:59 AM, Rob Church wrote:
Yes, interwiki transclusion.
- Set up interwiki entries for the wikis where iw_trans = 1
- Set $wgEnableScaryTranscluding = true; in LocalSettings.php
You'd then transclude as...
{{interwiki:template}} {{interwiki::content}} {{interwiki:namespace:title}}
...where "interwiki" is the interwiki prefix, "template" would be the name of a template on the source wiki, "content" would be the title of a main namespace page, and "namespace:title" is a regular namespace/title pair.
Thanks Rob. I think I'm just a bit off. Using phpMyAdmin to edit the db, I set the values to:
iw_prefix: wikihelp iw_url: http://subdomain.mywiki.com/wiki/ (the path to the source wiki) iw_local: 0 iw_trans: 1
In the source wiki I created a template called "Help" (Template:Help)
The wiki I want to pull this content into is a different subdomain on the same server, sharing the same MW install.
Using this:
{{wikihelp:Help}} or {{wikihelp:Template:Help}}
didn't work.
If I changed iw_url: to add "$1" after /wiki/ ( = /wiki/$1)
and used {{wikihelp:Help}}, still no dice.
What am I missing here? Thanks!
Tim