Module:Multilingual description/sort: Difference between revisions
From Neodyland Wiki
More actions
m sorted Indic abugidas now complete |
m zu and ik duplicated |
||
| Line 77: | Line 77: | ||
'he', 'yi', | 'he', 'yi', | ||
-- Arabic abjads | -- Arabic abjads | ||
--[[ا]] 'ur | --[[ا]] 'ur', | ||
--[[پ]] 'ps', | --[[پ]] 'ps', | ||
--[[س]] 'sd', | --[[س]] 'sd', | ||
| Line 83: | Line 83: | ||
--[[ك]] 'ku-arab', | --[[ك]] 'ku-arab', | ||
--[[ک]] 'ks-arab', 'ckb', 'glk', | --[[ک]] 'ks-arab', 'ckb', 'glk', | ||
--[[م]] 'mzn | --[[م]] 'mzn', | ||
--[[ئ]] 'ug', | --[[ئ]] 'ug', | ||
-- Other semitics abjads | -- Other semitics abjads | ||
Revision as of 19:16, 16 April 2015
This documentation is transcluded from Module:Multilingual description/sort/doc.
--[[
The documented sort order is by script, then alphabetically by displayed native name (as generated by {{#language: code}}), using the default DUCET order.
This allows easier selection by users reading the lists of languages in order to find their own.
Please test this order, and maintain it as complete as possible, including legacy codes still used in MediaWiki.
Any missing language will be sorted after all languages listed below, just using its internal language code.
Note: this resource-only module cannot have a "runTest()" member without breaking the returned list itself
(except by inserting it in its metatable, something still not implemented in the generic module testsuite).
For now, tests will be in the separate /testcases subpage.
]]
local p = {
-- LTR scripts
-- Latin alphabets
--[[A]] 'ang', 'af', 'als', 'an', 'ast', 'az',
--[[B]] 'id', 'ms', 'nan', 'zh-min-nan', 'su', 'jv', 'bar', 'bs', 'br',
--[[C]] 'ca', 'ceb', 'cs', 'co', 'cy',
--[[D]] 'da', 'pdc', 'de', 'de-formal', 'nv', 'dsb',
--[[E]] 'et', 'en', 'simple', 'es', 'eo', 'ext', 'eu',
--[[F]] 'fo', 'fr', 'fy',
--[[G]] 'ga', 'gd', 'gl',
--[[H]] 'haw', 'hsb', 'hr',
--[[I]] 'io', 'ia', 'ie', 'ik', 'zu', 'is', 'it',
--[[K]] 'kr', 'pam', 'csb', 'rn', 'kw', 'sw', 'ht', 'ku', 'ku-latn',
--[[L]] 'la', 'lv', 'lb', 'lt', 'li', 'lg',
--[[M]] 'hu', 'mg', 'mt',
--[[N]] 'nah', 'nap', 'nl', 'nds-nl', 'cr', 'no', 'nn',
--[[O]] 'oc',
--[[P]] 'pms', 'nds', 'pl', 'pt', 'pt-br',
--[[Q]] 'crh',
--[[R]] 'ty', 'ksh', 'ro', 'qu',
--[[S]] 'sc', 'se', 'sdc', 'sco', 'stq', 'sq', 'sk', 'sl', 'szl', 'fi', 'sv',
--[[T]] 'tl', 'vi', 'tk', 'tr',
--[[V]] 'vec', 'vo',
--[[W]] 'wa', 'vls', 'war',
--[[Y]] 'yo',
--[[Z]] 'diq',
-- Latin OR Cyrillic alphabets
'sh', -- most often Latin
'sr', -- most often Cyrillic
-- Cyrillic alphabets
--[[Б]] 'ba', 'be', 'be-tarask', 'bg',
--[[И]] 'os',
--[[К]] 'kk', 'ky',
--[[Л]] 'lbe',
--[[М]] 'mk', 'mo', 'mn',
--[[Р]] 'ru',
--[[C]] 'cu',
--[[Т]] 'tt', 'tg',
--[[У]] 'uk',
--[[Х]] 'xal',
--[[Ч]] 'cv',
-- Greek or Coptic alphabets
'el', 'pnt',
-- Other European alphabets
'hy', 'ka',
-- Devanagari abugidas
'new', 'ne', 'mr', 'sa', 'hi',
-- Other North Indian abugidas
'bn', 'bpy',
-- Tibetan abugidas
'bo', 'dz',
-- South Indian abugidas
'gu', 'or', 'ta', 'te', 'ml', 'si',
-- Other South-East Asian abugidas
'km', 'lo', 'th',
-- Syllabaries
'chr', 'am', 'ti',
-- Korean scripts (alphabet and sinograms) and Japanese scripts (syllabaries and sinograms)
'ko', 'ja',
-- Sinographic scripts
'wuu', 'yue',
'zh', 'zh-hans', 'zh-cn', 'zh-sg',
'zh-hant', 'zh-tw', 'zh-mo',
'lzh', 'zh-classical',
-- RTL scripts
-- Hebrew abjad
'he', 'yi',
-- Arabic abjads
--[[ا]] 'ur',
--[[پ]] 'ps',
--[[س]] 'sd',
--[[ف]] 'fa',
--[[ك]] 'ku-arab',
--[[ک]] 'ks-arab', 'ckb', 'glk',
--[[م]] 'mzn',
--[[ئ]] 'ug',
-- Other semitics abjads
'dv',
}
return p