Jump to content

မေႃႇၵျူး:HiddenUnicode

လုၵ်ႉတီႈ ဝီႇၶီႇဝွႆးဢဵတ်ႇꩡ် မႃး

Documentation for this module may be created at မေႃႇၵျူး:HiddenUnicode/doc

--[[
	Source script:	https://it.wikivoyage.org/wiki/Modulo:HiddenUnicode
	Maintainer:		Andyrom75
]]
function _hiddenUnicode( value )
	-- Note the quote ("") below is not empty and actually contains a hidden unicode character.
	return mw.ustring.match(value or '',"‎") and ('[[Category:Listing with hidden unicode character]]') or ''
end

local p = {}

function p.HiddenUnicodeValue( value )
	return _hiddenUnicode( value )
end

function p.HiddenUnicode( frame )
	return _hiddenUnicode( frame and frame.args and frame.args[1] )
end
 
return p