Last modified: 2010-09-15 02:22:25 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 T27177, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25177 - Queries for values not functioning as expected for format=template
Queries for values not functioning as expected for format=template
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Markus Krötzsch
http://sandbox.semantic-mediawiki.org...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-09-15 02:14 UTC by cparmstrong
Modified: 2010-09-15 02:22 UTC (History)
0 users

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


Attachments

Description cparmstrong 2010-09-15 02:14:55 UTC
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

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


Navigation
Links