hello!

Sergey Chernyshev wrote:
> Strange, it seems to work with other parser functions like {{uc}} from 
> Parser Functions.
>
>     I tried using it on MW 1.11 and SMW 1.0 and it didn't work for me
>     when template contains parser functions (I used
>     {{fullurl:PageName}} as test).
>
>     Are you sure recursiveTagParse expands parser functions?
>
yes, it works for me even with the fullurl function you tried.

the page with query: http://skuc.ljudmila.net/index.php/Peskovnik
template page: http://skuc.ljudmila.net/index.php/Template:Query_demo

some versions:

    * MediaWiki <http://www.mediawiki.org/>: 1.12alpha (r26602)
    * PHP <http://www.php.net/>: 5.2.0-8+etch7 (apache2handler)
    * MySQL <http://www.mysql.com/>: 5.0.32-Debian_7etch1-log
    * /Semantic MediaWiki (version 1.0alpha-2)/
      <http://ontoworld.org/wiki/Semantic_MediaWiki>

i am no mediawiki parser guru so havent got a good idea what might be 
going wrong.

LF
>
>
>     On 10/12/07, *Luka Frelih* < [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>> wrote:
>
>         hello!
>
>         in ask queries with template, parser functions and further
>         transclusions
>         inside
>         the template did not work. only the arguments and magic
>         variables were
>         successfuly replaced. but this turned out to be quite easy to
>         fix.
>
>         attached is a patch that changes the way template format in
>         ask queries
>         uses the parser.
>         two changes: it now uses the global mediawiki parser and it
>         uses the
>         recursiveTagParse
>         function instead of parse()->getText()
>
>         hope someone can test this and apply it. thanks for developing
>         this very
>         useful extension!
>
>         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/ <http://get.splunk.com/>
>         _______________________________________________
>         Semediawiki-devel mailing list
>         Semediawiki-devel@lists.sourceforge.net
>         <mailto:Semediawiki-devel@lists.sourceforge.net>
>         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
> Semediawiki-devel@lists.sourceforge.net
> 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
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to