Author: office
Description:
It is not possible to send parameters to semantic inline queries inside templates from another wiki via $wgEnableScaryTranscluding.
Example:
wiki1 and wiki2, wiki1 to wiki2 iw_prefix='interwiki2'
Wiki1 wiki1_page
{{raw:interwiki2:wiki2_tpl|direct parameter|city|berlin}}
Wiki2 template wiki2_tpl
Simple parameter {{{1}}} works, but...
{{#ask: [[{{{2}}}::{{{3}}}]]
format=table |
}}
not working...
Recommended settings:
LocalSettings.php
#Transwiki transclusion
$wgEnableScaryTranscluding = true;
$wgTranscludeCacheExpiry=0; # for testing purposes
Recommendations from http://www.mediawiki.org/wiki/Manual_talk:$wgEnableScaryTranscluding, 4th Update -
$forceRawInterwiki variable in Parser.php set to true.
Setup interwiki with ugly url
INSERT INTO interwiki SET iw_prefix='interwiki2', iw_url='http://www.wiki2.com/v/index.php?title=$1', iw_local=1, iw_trans=1 ;
Solving this issue would lead SMW to another level: semantic queries across wikis.
Platforms used: MW 1.14.1, SMW 1.4.2
Version: unspecified
Severity: enhancement