Module:Sandbox/42

From Wiktionary, the free dictionary
Jump to navigation Jump to search

local export = {}

function export.doesWiktionaryExist(frame)
    local langcode = frame.args[1]
    local iwMap = mw.site.interwikiMap("local")
    return  iwMap[langcode] ~= nil
end

return export