Pergi ke kandungan

Modul:languages/iterateAll

Daripada Wikikamus
return function ()
	mw.incrementExpensiveFunctionCount()
	local m_languages = require("Module:languages")
	local m_data = mw.loadData("Module:languages/data/all")
	local func, t, var = pairs(m_data)
	
	return function()
		local code, data = func(t, var)
		return m_languages.makeObject(code, data)
	end
end