Jump to content

Module:LanguageFunctions

From Wikimedia Incubator

Documentation for this module may be created at Module:LanguageFunctions/doc

local p = {}

function p.isSupportedLanguage( frame )
	if ( mw.language.isSupportedLanguage( frame.args["language_code"] ) )
	then
		return '1'
	else
		return ''
	end
end

return p