Module:wlm-sortkey: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

21 April 2026

30 November 2022

  • curprev 05:3805:38, 30 November 2022 wikt>Theknightwho 909 bytes +909 Created page with "local export = {} local u = mw.ustring.char local a = u(0xF000) local remove_diacritics = u(0x0300) .. "-" .. u(0x0302) .. u(0x0308) .. "'" -- grave, acute, circumflex, diaeresis, apostrophe local oneChar = { ["k"] = "c" } local twoChars = { ["ch"] = "c" .. a, ["dd"] = "d" .. a, ["ff"] = "f" .. a, ["ll"] = "l" .. a, ["ph"] = "p" .. a, ["rh"] = "r" .. a, ["th"] = "t" .. a } local threeChars = { ["ngh"] = "g" .. a } function export.makeSortKey(text, lang, sc) text..."