Modul:etymology languages/track-bad-etym-code
A modult a Modul:etymology languages/track-bad-etym-code/doc lapon tudod dokumentálni
local function track(page)
require("Module:debug/track")("etymology languages/" .. page)
return true
end
-- FIXME: Temporary. Lists nonstandard codes to track, so we can consider eliminating them. Consider moving to
-- [[Module:etymology languages/data]] so it only gets loaded once per page; but that would require restructuring
-- [[Module:etymology languages/data]] (probably a good idea anyway).
local nonstandard_codes_to_track = {
["Acadian French"] = true,
["fra-aca"] = true, -- should be fr-aca; no language 'fra'
["AE."] = true,
["American English"] = true,
["AG."] = true,
["Austrian German"] = true,
["BE."] = true,
["British English"] = true,
["Medieval Greek"] = true,
["CF."] = true,
["Canadian French"] = true,
["CL"] = true,
["Classical Latin"] = true,
["Early Scots"] = true,
["O.Sc."] = true,
["Old Scots"] = true,
["EL"] = true,
["Ecclesiastical Latin"] = true,
["Ins.Sc."] = true,
["Insular Scots"] = true,
["Koine"] = true,
["Kölsch"] = true,
["LL"] = true,
["Late Latin"] = true,
["Lombardic"] = true,
["Lunfardo"] = true,
["ML"] = true,
["Medieval Latin"] = true,
["Mid.Sc."] = true,
["Middle Scots"] = true,
["NL"] = true,
["New Latin"] = true,
["Nor.Sc."] = true,
["Northern Scots"] = true,
["Old Northern French"] = true,
["pregrc"] = true,
["RL"] = true,
["Renaissance Latin"] = true,
["Sou.Sc."] = true,
["Borders Scots"] = true,
["Southern Scots"] = true,
["Swiss French"] = true,
["Switzerland French"] = true,
["Swiss Italian"] = true,
["Switzerland Italian"] = true,
["Uls.Sc."] = true,
["Ulster Scots"] = true,
["VG."] = true,
["Viennese German"] = true,
["VL"] = true,
["Vulgar Latin"] = true,
["pygmy"] = true,
["Tax."] = true,
}
return function(code)
if nonstandard_codes_to_track[code] then
track(code)
end
return true
end