Last modified: 2011-12-02 09:42:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T31453, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29453 - result of an ask query cannot be rendered properly when using fromat=template.
result of an ask query cannot be rendered properly when using fromat=template.
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
PC All
: Unprioritized major (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-17 14:41 UTC by Alan Fang
Modified: 2011-12-02 09:42 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Alan Fang 2011-06-17 14:41:03 UTC
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?
Comment 1 Jeroen De Dauw 2011-06-17 18:59:46 UTC
Try upgrading to SMW 1.6.
Comment 2 Jeroen De Dauw 2011-06-17 19:00:15 UTC
Err... I meant SMW 1.5.6.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links