Last modified: 2011-04-15 08:46:24 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 T18353, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16353 - Sort table by hidden values
Sort table by hidden values
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Low enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-11-15 14:52 UTC by Duncan Harris
Modified: 2011-04-15 08:46 UTC (History)
2 users (show)

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


Attachments

Description Duncan Harris 2008-11-15 14:52:03 UTC
One should be able to enter hidden sortvalues into sortable wikitables, by which they then would be sorted rather than the actual visible content of the cells.  This would introduce useful flexibility into the tables, and would be useful where one doesn't quite want sort by what is displayed in the cells.

For example, "custard cream biscuits" could have sortvalue="biscuits, custard cream" in a shopping list and be displayed next to "digestive biscuits" whose sortvalue="biscuits, digestive".

I would suggest something like this then:

|sortvalue="6"|

Thanks,
Comment 1 Duncan Harris 2008-11-15 21:01:55 UTC
PS this is instead or in addition to <span style="display:none">foo</span> which I regard as a workaround - or that's how it'll work if you understand.
Comment 2 DieBuche 2011-04-15 08:46:24 UTC
Fixed in  r73270 by nikerabbit

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


Navigation
Links