Last modified: 2006-10-10 23:29:56 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 T9543, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 7543 - Allow tables to be resorted by e.g. clicking on header
Allow tables to be resorted by e.g. clicking on header
Status: RESOLVED DUPLICATE of bug 2001
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-10-10 23:28 UTC by Chris McKenna
Modified: 2006-10-10 23:29 UTC (History)
0 users

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


Description Chris McKenna 2006-10-10 23:28:55 UTC
A very useful feature on many websites these days, ebay comes to mind, is that
you can change the sort order of tables by clicking on the column header. This
is not currently possible in MediaWiki and the table can only be displayed in
the way that it is coded.

As an example, the [[en:List of RSPB nature reserves]] article will shortly be
redone into a table format. It will likely contain the columns:
Name | County | Area | Habitat | Key species

Having this sorted by all of these columns will be very useful for different
purposes - e.g. to view the largest reserves, to view reserves that are
wetlands, or to view reserves in a county.

Currently to do this we will need to make and maintain 5 separate tables. With
this proposal only one table would be needed as the reader could sort by
whichever column they wanted. Ideally the sorting would be reversible (A->Z and
Z->A) and be carried over to allow queries like wetland habitats viewed in
decreasing size order (e.g. sort by size then by habitat).

See also bug #2194 as it may be something that could/needs to be done at the
same time as the proposed table: namespace
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-10-10 23:29:56 UTC

*** This bug has been marked as a duplicate of 2001 ***

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