I tried editing the source template ("Help"). The edits aren't showing up in the target wikis, even if I delete the transclusion code {{pwiki:Help}}, save and then re-enter it. There must be some additional step?
Thanks.
Tim
That did the trick, changing "?action=$action" to "&action=$action" in /includes/Parser.php.
So the values in phpMyAdmin:
iw_prefix = pwiki iw_url = http://against-the-day.pynchonwiki.com/wiki/index.php?title=$1 iw_local = 0 iw_trans = 1
Then, in the target wiki, I just did this: {{pwiki:Help}} ("Help" being a template I created in the source wiki)
and voila! Thanks so much for the assistance!
Tim
Tim Ware wrote:
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]
Well failure there isn't surprising, since that URL appears to be wrong. :)
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.
The old transclusion code will break on foreign URLs using query strings.
Fix is on trunk (for 1.9) in r18684.
You can either try to apply that change to the 1.8 code, or just do a quick hack to change the "?action=$action" to "&action=$action" in interwikiTransclude() in Parser.php
For some reason, the colon is getting read as "%3A".
That's normal and harmless (but also fixed, I believe).