Jump to content

Module:User:Victar/WikiEditor

From Wiktionary, the free dictionary


local export = {}

function export.convertDesc(content)
	
	content = mw.ustring.gsub(content, "/\b.*\:\s*\{{l\|([^}]*)\}}/g", "{{desc|$1}}")
	
	return content
	
end

return export