Last modified: 2011-08-25 17:32:16 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 T32435, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30435 - Template format is not powerful enough
Template format is not powerful enough
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-18 10:19 UTC by bbilge
Modified: 2011-08-25 17:32 UTC (History)
2 users (show)

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


Attachments

Description bbilge 2011-08-18 10:19:28 UTC
The introtemplate parameter receives no parameters. It should receive the headers. Without this information it is impossible to write a generic template to fully reformat data because the template can only receive data rows and not headers.

Moreover, it should be possible to pass named parameters to the template, not just receive data sent by the system in numbered parameters.
Comment 1 Jeroen De Dauw 2011-08-25 12:43:21 UTC
When you do a query, you know what the headers will look like, as you basically specify them. So it'd say although having this functionality would be nice, it's low priority, since you can already get similar behavior. I might be missing something though :)
Comment 2 badon 2011-08-25 17:32:16 UTC
Here is an example of how to do this:

http://old.nabble.com/Sorting-by-non-property-article-name-as-second-criterion-to32324423.html

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


Navigation
Links