Module:HiddenUnicode
模块文档[创建]
您可能想要创建本的文档。 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模块的子页面。 |
local i = {}
function i.HiddenUnicode(frame)
local txt = frame.args[1] or '';
local catUnicodeIssue = '';
-- Note the quote ("") below is not empty and actually contains a hidden unicode character.
if mw.ustring.match(txt,"") ~= nil then
catUnicodeIssue = '[[' .. 'Category:列表項含有隱藏Unicode字元]]'
end
return catUnicodeIssue;
end
return i;