Kontent qismiga oʻtish

Modul:languages/track-bad-code

Vikilug‘atdan olingan

Bu modul uchun Modul:languages/track-bad-code/doc nomli hujjat sahifasini yaratishingiz mumkin

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