45,647
edits
No edit summary |
No edit summary |
||
Line 75: | Line 75: | ||
local data = m_labeldata.labels[label] or {} | local data = m_labeldata.labels[label] or {} | ||
--[=[ | --[=[ | ||
Line 100: | Line 96: | ||
local lang_code = lang:getCode() | local lang_code = lang:getCode() | ||
if not data.languages[lang_code] then | if not data.languages[lang_code] then | ||
mw.log("incorrect language in label template " .. lang_code .. ":" .. label) | mw.log("incorrect language in label template " .. lang_code .. ":" .. label) | ||
if alias and label ~= alias then | if alias and label ~= alias then | ||
mw.log("redirect undone in label template " .. lang_code .. ":" .. label .. " > " .. alias) | mw.log("redirect undone in label template " .. lang_code .. ":" .. label .. " > " .. alias) | ||
label = alias | label = alias |