10,735
edits
TheNightAvl (talk | contribs) mNo edit summary |
TheNightAvl (talk | contribs) mNo edit summary |
||
Line 18: | Line 18: | ||
local title = args[2] or args["title"] or args["t"] | local title = args[2] or args["title"] or args["t"] | ||
local nocat = args["nocat"] ~= nil or false | local nocat = args["nocat"] ~= nil or false | ||
if title then title = string.gsub(title, "%s+$", "") end | if title then title = string.gsub(title, "%s+$", "") end | ||
for k, v in pairs(args) do | for k, v in pairs(args) do | ||
if type(k) == "string" and type(v) == "string" then | if type(k) == "string" and k ~= "nocat" and type(v) == "string" then | ||
local tr_language = m_languages.get_by_code(k) | local tr_language = m_languages.get_by_code(k) | ||
local to_process = v | local to_process = v |