Greetings, As I've reported before, I found that template parameters aren't expanded inside <ask></ask> text. I've tried to write a patch, yet it seems to be tricky. Even such a simple attempt completely breaks an output. Strange. I will be investigating further tomorrow. Maybe someone can provide a fix or clue to my code?
function smwfProcessInlineQueries( $text, $param ) { global $smwgIQEnabled; global $wgParser; // try to expand template parameters: $text=$wgParser->preprocess( $text, $wgParser->mTitle, $wgParser->mOptions); $iq = new SMWInlineQuery($param); if ($smwgIQEnabled) { return $iq->getHTMLResult($text); } else { return wfMsgForContent('smw_iq_disabled'); } } Sincerely, Dmitriy ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel