What's funny about this (to me), is that I actually took the time to develop such a parser function, created a patch and submitted it to bugzilla[1].
Needless to say it was never incorporated because of a pending "rewrite" of some core functionality. So I created an extension to do this as well[2]. I haven't tested the extension against any other version of SMW than what I originally targeted, so it may no longr work. I believe I developed against 0.7. [1] http://bugzilla.wikimedia.org/show_bug.cgi?id=10021 [2] http://jimbojw.com/wiki/index.php?title=SMW_InlineQueryParserFunction_Extension Good luck! -- Jim R. Wilson (jimbojw) On 10/17/07, Sergey Chernyshev <[EMAIL PROTECTED]> wrote: > Sorry, my first main missed the list again: > > Yes, I think that's in the plans (although Markus didn't reply to my email > about it on the list). > > > > On 10/17/07, Luka Frelih <[EMAIL PROTECTED]> wrote: > > hello! > > > Yaron and I observed a problem with template parameters handling > > > within <ask> queries in SMW 1.0 RC1. > > > Basically they don't get expanded. > > > I've created a bug in MediaZilla for that: > > > http://bugzilla.wikimedia.org/show_bug.cgi?id=11684 > > > Same problem exists within template rendering when template is used as > > > format for querying. Luka's patch doesn't help with it. > > i think a simple way to get this functionality would be to implement an > > ask function. as functions get parsed later than the tags, template > > parameters and functions within it would get expanded before the call. > > > > if i'm not mistaken someone has already done some work towards that. > > > > LF > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Semediawiki-devel mailing list > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/semediawiki-devel > > > > > > -- > Sergey Chernyshev > http://www.sergeychernyshev.com/ > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Semediawiki-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/semediawiki-devel > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Semediawiki-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
