Module:languages/alldata: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "local modules = { ["Module:languages/data"] = true, ["Module:languages/data2"] = true, ["Module:languages/data3/a"] = true, ["Module:languages/data3/b"] = true...")
 
No edit summary
Line 1: Line 1:
local modules = {
local modules = {
    ["Module:languages/data"] = true,
     ["Module:languages/data2"] = true,
     ["Module:languages/data2"] = true,
     ["Module:languages/data3/a"] = true,
     ["Module:languages/data3/a"] = true,
Line 36: Line 35:
     for key, value in pairs(require(mname)) do
     for key, value in pairs(require(mname)) do
         m[key] = value
         m[key] = value
    end
    local xname = mname:gsub("data", "extradata")
    for lkey, lvalue in pairs(require(xname)) do
    if m[lkey] then
    for key, value in pairs(lvalue) do
    m[lkey][key] = lvalue[key]
    end
    end
     end
     end
end
end


return m
return m

Navigation menu