https://bugzilla.wikimedia.org/show_bug.cgi?id=20397

           Summary: Failure of sending parameters to semantic queries from
                    another wiki via $wgEnableScaryTranscluding
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Semantic MediaWiki
        AssignedTo: [email protected]
        ReportedBy: [email protected]


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


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to