Module:utilities/templates: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 22: Line 22:
local default_sort = sort_keys.default
local default_sort = sort_keys.default
local cats = {}
local cats = {}
local prefix = format == "pos" and lang:getName() .. " " or
local prefix = format == "pos" and lang:getCanonicalName() .. " " or
format == "topic" and lang:getCode() .. ":" or ""
format == "topic" and lang:getCode() .. ":" or ""