Module:languages/data/all/additional

This module combines data from Module:languages/data/all, Module:etymology languages/data and Module:families/data into a single table. It should only be used in Lua functions that need to look at the data for all languages, etymology-only languages and families, such as fetch_descendants in Module:languages. It should not be used in entries, because its memory footprint is huge.


local modules = {
	["Module:languages/data/all"] = true,
	["Module:etymology languages/data"] = true,
	["Module:families/data"] = true,
	["Module:families/data/etymology"] = true,
}

local m = {}

for mname in pairs(modules) do
	for key, value in pairs(require(mname)) do
		m[key] = value
	end
end

return m