Page MenuHomePhabricator

<sort> feature: automatically sort lists, e.g. on lists, dab pages
Closed, ResolvedPublic

Description

Author: jasonspiro4

Description:
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.


Version: unspecified
Severity: normal

Details

Reference
bz4870

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:04 PM
bzimport set Reference to bz4870.
bzimport added a subscriber: Unknown Object (MLST).

jasonspiro4 wrote:

I am requesting case-insensitive sort, of course.

robchur wrote:

This might be better served as an extension, using <sortedlist> and
</sortedlist>. Use of comment markup would be inconsistent.

robchur wrote:

There's a <sort> extension in SVN trunk.

jasonspiro4 wrote:

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!

robchur wrote:

It's not live on Wikimedia web sites.