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

       Web browser: ---
             Bug #: 29453
           Summary: result of an ask query cannot be rendered properly
                    when using fromat=template.
           Product: MediaWiki extensions
           Version: any
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: Semantic MediaWiki
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


I am currently using the SMW 1.5.3, and there is a critical rendering problems
I have encountered is the the markup contain in the result cannot be rendered
properly. For example:

If I am getting a filed using:
{{#ask: [[Category:Projects]][[status::!Released]]
| ?name 
| ?detailedStatus = Status
| ?status
| format=template
| template=Project List Table Content
| introtemplate=Project List Table Header
| outrotemplate=Project List Table Footer
| limit=100
}}

(the template is just an wikitable "sortable" )
if the status field contain some markups like:
|detailedStatus=Title

# a      : August 2011
# b      : November 2011
# c      : February 2012
# d      : April 2012
# e      : TBD

the result shows in the table will be like this:

Title\012\012# a  : August 2011\012# b  : November 2011\012# c  : February
2012\012# d  : April 2012\012# e : TBD 

which clearly show that the markup has not been parsed correctly. 
I have try to display the result without using any template but just an simple
table format, the information I have got back is still broken. 

Any one have ideas?

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