Last modified: 2011-03-13 17:45:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 13318 - Sort key in Template Output
Sort key in Template Output
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
All All
: Lowest enhancement (vote)
: ---
Assigned To: Markus Krötzsch
Depends on:
  Show dependency treegraph
Reported: 2008-03-10 23:35 UTC by DaSch
Modified: 2011-03-13 17:45 UTC (History)
1 user (show)

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


Description DaSch 2008-03-10 23:35:42 UTC
when creating an Output for a template there should be also created a SortKey so it also can be used in costum sortable tables, at the Moment propertys with untis are not sorted correctly
Comment 1 DaSch 2008-06-08 12:52:13 UTC
it's really annoying when i Create a sortable table with number an they are sorted like string. I think it should not ne that difficult to put a sortkey befor the output. It's online putting the number filled with 0 in front into a div with style="display:none"
Comment 2 DaSch 2008-06-08 13:16:19 UTC
in the table output the same thing is used, so there should not be any problem with transfering this thing from the table to the template output
Comment 3 Siebrand Mazeland 2008-08-11 11:05:27 UTC
Re-assign to extension developer for triage/comments.
Comment 4 Markus Krötzsch 2008-09-04 10:26:38 UTC
DaSch, what you suggest would add hidden HTML to values that are passed to templates. Doing this in general would break tempaltes that expect plain values. Also, there is currently no proper support for using SMW sorting tables directly without #ask. CSS and JavaScript needed for that feature are inserted only on-demand if an SMW function needs them (e.g. because the page also has anther query or factbox).

Maybe there should be template= support for tables. But this would require to fix a syntax that would be used in these tempaltes (piped or HTML).
Comment 5 Markus Krötzsch 2008-10-02 21:47:29 UTC
Seeing no reply to my earlier comment, there is still no viable proposal to implement this feature request without breaking existing functions. Clearly, not introducing new bugs is more important than adding new features, so I have to close this without action, at least for now. We can re-open it if there is a workable proposal.

In fact, if someone could finally come up with a proposal how to pass parameters to single ?printouts (e.g. limit), then this could be controlled and the requested behaviour could become an optional feature. But it is not possible to have that as a general behaviour for all cases.
Comment 6 Mark A. Hershberger 2011-03-13 17:45:59 UTC
Changing all WONTFIX high priority bugs to lowest priority (no mail should be generated since I turned it off for this.)

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