Module:languages/alldata: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 35: 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