Jump to content

မေႃႇၵျူး:Hani-sortkey/doc

လုၵ်ႉတီႈ ဝိၵ်ႇသျိၼ်ႇၼရီႇ မႃး

This is the documentation page for မေႃႇၵျူး:Hani-sortkey

This module will sort text in the Han script. The module should preferably not be called directly from templates or other modules. To use it from a template, use {{sortkey}}. Within a module, use Module:languages#Language:makeSortKey.

For testcases, see Module:Hani-sortkey/doc/testcases.

Functions

makeSortKey(text, lang, sc)
Generates a sortkey for a given piece of text written in the script specified by the code sc, and language specified by the code lang.
When the sort fails, returns nil.

The demonstration functions that generated the content shown below are housed in Module:Hani-sortkey/templates. Modifications to the module can be tested in Module:Hani-sortkey/sandbox. Sortkeys for individual characters are retrieved from one of 178 data modules. Module:Hani-sortkey/data creates documentation for these modules.

Show sortkeys

[မႄးထတ်း]

Lua error in မေႃႇၵျူး:Hani-sortkey at line 149: attempt to call upvalue 'pe' (a nil value). Lua error in မေႃႇၵျူး:Hani-sortkey at line 149: attempt to call upvalue 'pe' (a nil value). Lua error in မေႃႇၵျူး:Hani-sortkey at line 149: attempt to call upvalue 'pe' (a nil value).

Ideographic description sequences

[မႄးထတ်း]

Lua error in မေႃႇၵျူး:Hani-sortkey at line 149: attempt to call upvalue 'pe' (a nil value).