Module:WikibaseLabel

From Android Wiki
Jump to navigation Jump to search

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

local functions = {}

function functions.getLabel()
	local entity = mw.wikibase.getEntity()
	if (entity) then
		label, lang = entity:getLabel()
		return  label
	else
    	return
	end
end

return functions