Module:qhv-noun: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 13: Line 13:
local NONSYLLABIC = u(0x032F) -- non-syllabic, combining inverted breve below
local NONSYLLABIC = u(0x032F) -- non-syllabic, combining inverted breve below
local DIPHTHONG = u(0x035C) -- double articulation, combining double breve below
local DIPHTHONG = u(0x035C) -- double articulation, combining double breve below
local lang = require("Module:languages").getByCode("qhv")
local sorted = lang:makeSortKey(PAGENAME)


local export = {}
local export = {}
Line 30: Line 33:
local out_categories = {}
local out_categories = {}
for key, cat in ipairs(categories) do
for key, cat in ipairs(categories) do
out_categories[key] = "[[Category:" .. cat .. "]]"
out_categories[key] = "[[Category:" .. cat .. "|" .. sorted .. "]]"
end
end