Last modified: 2014-02-11 01:09:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T22397, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20397 - Failure of sending parameters to semantic queries from another wiki via $wgEnableScaryTranscluding
Failure of sending parameters to semantic queries from another wiki via $wgEn...
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-25 22:18 UTC by EuroDomenii
Modified: 2014-02-11 01:09 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description EuroDomenii 2009-08-25 22:18:18 UTC
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
Comment 1 MWJames 2014-02-11 01:09:53 UTC
It is not supported in the current 1.9.1 release and unless a volunteer developer finds the time to implement a solution this functionality will also be not supported in future. 

Closing this request after being open for 5 years.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links