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

           Summary: Use of $wgParser in query printers not always allowed
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: ASSIGNED
          Severity: normal
          Priority: Normal
         Component: Semantic MediaWiki
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Quoting a bug report by Stephan Robotta:

When calling the function SMWQueryProcessor::getResultFromQueryString() with
the parameter SMW_OUTPUT_HTML a fatal error ocurres in the parser. This happens
when a ask query is done and a table with parameter intro is requested like in:

 {{#ask: [[Category:Content]] 
 | format=table
 | link=all 
 | intro=content in my wiki
 | mainlabel=title
 |}}

At the moment this would happen in the Query Interface of SMW+ only. Within
pages of the wiki, the query output is rendered to wiki text which then later
is rendered to html.

The parser handling in line 161ff in SMW_QueryPrinter.php is needed as well in
the parts for mIntro and mOutro shorly afterwards.


-- 
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