10,735
edits
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) No edit summary |
||
Line 24: | Line 24: | ||
local args = require("Module:parameters").process(frame:getParent().args, params) | local args = require("Module:parameters").process(frame:getParent().args, params) | ||
local language = m_languages.get_by_code(args[1]) | local language = m_languages.get_by_code(args[1]) | ||
local source = | local source = language | ||
if args[2] | if args[2] ~= "*" then source = m_languages.get_by_code(args[2]) end | ||
return export.make_categories(language, source, args[3]) | return export.make_categories(language, source, args[3]) | ||
end | end | ||
return export | return export |