Module:links/templates: Difference between revisions

no edit summary
(Created page with "local export = {} --[=[ Modules used: Module:links Module:languages Module:scripts Module:parameters Module:debug ]=] -- Used in Template:l and...")
 
No edit summary
Line 7: Line 7:
[[Module:scripts]]
[[Module:scripts]]
[[Module:parameters]]
[[Module:parameters]]
[[Module:debug]]
]=]
]=]


Line 50: Line 49:
local lang = args[compat and "lang" or 1]
local lang = args[compat and "lang" or 1]
-- Tracking for missing language or und
if not lang then
require("Module:debug").track("link/no lang")
elseif lang == "und" then
require("Module:debug").track("link/und")
end
lang = lang or "und"
lang = lang or "und"
Line 211: Line 203:
local lang = args[compat and "lang" or 1]
local lang = args[compat and "lang" or 1]
-- Tracking for missing language or und
if not lang then
require("Module:debug").track("link/no lang")
elseif lang == "und" then
require("Module:debug").track("link/und")
end
lang = lang or "und"
lang = lang or "und"