Last modified: 2006-05-24 22:24:19 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 4870 - <sort> feature: automatically sort lists, e.g. on lists, dab pages
<sort> feature: automatically sort lists, e.g. on lists, dab pages
Product: MediaWiki extensions
Classification: Unclassified
Extensions requests (Other open bugs)
All All
: Normal normal with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-02-05 05:27 UTC by Jason Spiro
Modified: 2006-05-24 22:24 UTC (History)
0 users

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


Description Jason Spiro 2006-02-05 05:27:08 UTC
I propose that the page-editing code in MediaWiki look for the tokens <!--
#SORTEDLIST --> and <!-- #ENDLIST --> each time a user clicks "Save page". If
they are found, then MediaWiki will sort the text between the two tokens,
line-by-line, using the appropriate sort order for the language the wiki is
written in.

This would be an extremely useful labor-saving device. It would save time in
editing disambiguation pages, lists, and more.
Comment 1 Jason Spiro 2006-02-05 05:27:50 UTC
I am requesting case-insensitive sort, of course.
Comment 2 Rob Church 2006-02-05 14:19:16 UTC
This might be better served as an extension, using <sortedlist> and
</sortedlist>. Use of comment markup would be inconsistent.
Comment 3 Rob Church 2006-05-17 20:18:29 UTC
There's a <sort> extension in SVN trunk.
Comment 4 Jason Spiro 2006-05-18 09:07:05 UTC
Great! I hope it'll make it into your unofficial MediaWiki changelog page and
from there into the Signpost and into the instruction and help pages for making
list pages.

Rob, thanks!
Comment 5 Rob Church 2006-05-18 10:10:06 UTC
It's not live on Wikimedia web sites.

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