Difference between revisions of "Module:Belarusian"
Jump to navigation
Jump to search
Mediawiki>Wizardist |
Joelmartin (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 04:49, 30 November 2019
Documentation for this module may be created at Module:Belarusian/doc
-- Some sandboxing for Belarusian
local t = {}
require "mw.ustring"
function t.isStartingVowel( input )
vowels = { "а", "е", "ё", "і", "о", "у", "э", "ю", "я" }
chr = mw.ustring.sub( input.args[1], 0, 1 )
for _,i in pairs( vowels ) do
if i == chr then
return "yes"
end
end
end
return t