Module:mn-common: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "local export = {} local lang = require("Module:languages").getByCode( "mn" ) local links = require( "Module:links" ) table["reverse"] = require( "Module:table" ).reverse table["removeDuplicates"] = require( "Module:table" ).removeDuplicates local char = mw.ustring.char local find = mw.ustring.find local len = mw.ustring.len local match = mw.ustring.match local gmatch = mw.ustring.gmatch local sub = mw.ustring.sub local gsub = mw.ustring.gsub local lower = mw.ustring.low...")
 
No edit summary
Tag: Reverted
Line 270: Line 270:
for i,s in ipairs( vh ) do
for i,s in ipairs( vh ) do
local orig = s.substring
local orig = s.substring
s.substring = reverse( lower( s.substring ) )
s.substring = string.reverse( lower( s.substring ) )
local vowel = match( s.substring, "[аеёоөуүэюя]" )
local vowel = match( s.substring, "[аеёоөуүэюя]" )
location = (find( s.substring, "[аеёоөуүэюя]" ))
location = (find( s.substring, "[аеёоөуүэюя]" ))

Navigation menu