Extension:InterwikiSorting

The InterwikiSorting extension allows for sorting of interwiki links.

The code was originally created in 2012 as part of the Wikibase Client extension, and has been factored out.


 * Within the Wikimedia Foundation this extension will be used alongside the Cognate extension and Wikibase.

Configuration

 * The default sort order to use. 'code' is built in and orders alphabetically by interwiki code.
 * The default sort order to use. 'code' is built in and orders alphabetically by interwiki code.


 * Example sort orders are currently stored in WMF configuration and can be seen at Phabricator


 * These can be seen used in noc.wikimedia.org under


 * Codes that should appear at the start of the list of interwiki links.
 * Codes that should appear at the start of the list of interwiki links.


 * Definition of sort orders. Each sort order key should be the sort order name, for example 'alphabetical'. Each key should have a value of an array of interwiki codes in the order to be sorted.
 * Definition of sort orders. Each sort order key should be the sort order name, for example 'alphabetical'. Each key should have a value of an array of interwiki codes in the order to be sorted.