Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ef889f719b
Fetching contributors…

Cannot retrieve contributors at this time

66 lines (45 sloc) 1.644 kb
Version 1.1
© 2006-2007 Rob Church
The Sort extension introduces a <sort> tag to MediaWiki markup, which
simplifies the creation of sorted lists. The sort direction and
list type can be customised.
== Requirements ==
The Sort extension requires MediaWiki 1.7.0 or later.
== Installation ==
1. Check out all extension files from Subversion and place them in a
"MinimumNameLength" subdirectory within your MediaWiki "extensions"
2. Add the line
require_once( "{$IP}/extensions/MinimumNameLength/MinimumNameLength.php" );
to your LocalSettings.php file
Installation can be verified through the [[Special:Version]] page on the wiki.
== Using the extension ==
Sort adds a new tag, <sort>, to the MediaWiki markup, which can be inserted
while editing. The syntax of this tag is:
<sort order="[order]" class="[class]">
List item one
List item two
The order and class attributes are optional, and are used to customise the
sort direction and list type generated. By default, Sort will generate an
alphabetically sorted unordered list. Each item in the list should go on
a new line.
Wiki links can be used; list tokens (i.e. # and *) will be trimmed.
The following are valid order values
* asc - ascending sort (default)
* desc - descending sort
The following are valid class values
* ul - unordered [bulleted] list (default)
* ol - ordered [numbered] list
== Change log ==
Version 1.1
July 23, 2007
Major code refactoring
Trim existing list tokens
Version 1.0
June 23, 2006
Initial release
== Feedback ==
All feedback, bug reports, etc. welcome via <>.
Jump to Line
Something went wrong with that request. Please try again.