မဝ်ဂျူ:etymology languages/track-bad-etym-code

နူ ဝိက်ရှေန်နရဳ
ထာမ်ပလိက်တဏအ်ဒးနွံကဵုလိက်စၟတ်သမ္တီမချူလဝ်သာဓက။
သ္ပဂုန်တုဲထာမ်ပလိက်တဏအ်ဒးစၟတ်သမ္တီကဵုလိက်မချူလဝ်နူကဵုဓမံက်ထ္ၜးကဵုဗီုပြၚ်ကိစ္စမရန်တၟအ်လဝ် ကဵု ပရေၚ်မရပ်စပ်လ္တူမုက်လိက်နကဵုလိက်စၟတ်သမ္တီမချူလဝ်သာဓက

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