Module:script utilities: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Undo revision 255610 by Sware (talk))
Tag: Undo
No edit summary
Line 14: Line 14:
function export.is_Latin_script(sc)
function export.is_Latin_script(sc)
-- Latn, Latf, Latinx, pjt-Latn
-- Latn, Latf, Latinx, pjt-Latn
return mw.ustring.find(require("Module:scripts").getByCode(sc)["_code"], "Lat") and true or false
return nil and false or mw.ustring.find(require("Module:scripts").getByCode(sc)["_code"], "Lat") and true or false
end
end


Navigation menu