มอดูล:etymology languages/canonical names/gen
- This มอดูล lacks a documentation subpage. Please create it.
- Useful links: root page • root page’s subpages • links • transclusions • testcases • sandbox
local export = {}
local function sort_th(item1, item2)
item1 = mw.ustring.gsub(item1, "([เแโใไ])([ก-ฮ])", "%2%1")
item2 = mw.ustring.gsub(item2, "([เแโใไ])([ก-ฮ])", "%2%1")
return item1 < item2
end
function export.show(frame)
local dump = require("Module:debug").highlight_dump
local all_data = require("Module:etymology languages/by name")
return dump(all_data, "", sort_th)
end
return export