Μετάβαση στο περιεχόμενο

Module:HiddenUnicode

Από Βικιταξίδια
Αναθεώρηση ως προς 08:40, 2 Μαΐου 2015 από τον Handrian (συζήτηση | συνεισφορές) (Νέα σελίδα με 'local i = {} function i.HiddenUnicode(frame) local txt = frame.args[1] or ''; local catUnicodeIssue = ''; -- Note the quote ("") below is not empty and ac...')
(διαφορά) ← Παλαιότερη αναθεώρηση | Τελευταία αναθεώρηση (διαφορά) | Νεότερη αναθεώρηση → (διαφορά)

Documentation for this module may be created at Module:HiddenUnicode/τεκμηρίωση

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:Listing with hidden unicode character]]'
    end
    return catUnicodeIssue;
end
 
return i;