Extension:Sort

The Sort extension introduces a  tag to MediaWiki markup which simplifies the creation and maintenance of simple sorted lists.

Installation

 * 1) Check out all extension files from Subversion and place them in a   subdirectory within your MediaWiki   directory
 * 2) Add the line   to your   file

Installation can be verified through the Special:Version page on the wiki.

Usage
Sort adds a new tag,, to the MediaWiki markup, which can be inserted while editing. The syntax of this tag is



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 in list items, and existing list tokens will be trimmed from the start of the line.

Order
The following are valid order values


 * asc - ascending sort (default)
 * desc - descending sort

Class
The following are valid class values


 * ul - unordered [bulleted] list (default)
 * ol - ordered [numbered] list