Modul:languages/track-bad-code

local function track(page)
	require("Module:debug/track")("languages/" .. page)
	return true
end

-- FIXME: Temporary. Lists nonstandard codes to track, so we can consider eliminating them.
local nonstandard_codes_to_track = {
	["bsg"] = true,
	["inc-kha"] = true,
	["pka"] = true,
	["inc-mgd"] = true,
	["pmh"] = true,
	["psu"] = true,
	["rdb"] = true,
	["tgf"] = true,
}

return function(code)
	if nonstandard_codes_to_track[code] then
		track(code)
	end
	return true
end