Module:links/templates: Difference between revisions

Undo revision 234187 by Sware (talk)
No edit summary
(Undo revision 234187 by Sware (talk))
Tag: Undo
Line 7: Line 7:
[[Module:scripts]]
[[Module:scripts]]
[[Module:parameters]]
[[Module:parameters]]
[[Module:debug]]
]=]
]=]


Line 49: Line 50:
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 203: Line 211:
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"