https://bugzilla.wikimedia.org/show_bug.cgi?id=25177
Summary: Queries for values not functioning as expected for
format=template
Product: MediaWiki extensions
Version: any
Platform: All
URL: http://sandbox.semantic-mediawiki.org/wiki/Record_Quer
y_Test
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: Semantic MediaWiki
AssignedTo: [email protected]
ReportedBy: [email protected]
The query "{{#ask: [[{{FULLPAGENAME}}]] | ?testString| format=table}}" returns
a table with one row per testString property on the page. According to the
documentation on
http://semantic-mediawiki.org/wiki/Help:Template_format#Using_templates_for_custom_formatting
"If a template is specified, all result «rows» are formatted using this
template." However this does not appear to be the case. The query "{{#ask:
[[{{FULLPAGENAME}}]] | ?testString| format=template | template=testTemplate}}"
only uses the template once sending a long string of each value separated by
commas as {{{1}}}.
I've made a page demonstrating the problem here:
http://sandbox.semantic-mediawiki.org/wiki/Record_Query_Test
--
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