Module:root: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
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 = m_languages.get_by_code(args[2])
local source = language
if args[2] == "*" then source = language end
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