Module:Languages

local p = {}

local function has_page (tab, lang) for index, value in ipairs(tab) do       if value == lang then return true end end return false end

function p.main( frame ) local languagesData = mw.loadData( 'Module:Languages/data' ) if has_page(languagesData, 'fr') then return "Yes" else return "No" end end

return p