Module:add etymology: Difference between revisions

Jump to navigation Jump to search
Created page with "local export = {} local getArgs = require("Module:Arguments").getArgs local m_languages = require("Module:languages") function export.format(frame) local args = getArgs(frame) local current = mw.title.makeTitle("", args["entry"] or "") or mw.title.getCurrentTitle() local language = m_languages.get_by_code(args[1]) local content = current:getContent() content = mw.ustring.match(content, "(==%s*" .. language.name .. "%s*==.+)\n==[^=]+==\n") or mw.ustring.match(..."
(Created page with "local export = {} local getArgs = require("Module:Arguments").getArgs local m_languages = require("Module:languages") function export.format(frame) local args = getArgs(frame) local current = mw.title.makeTitle("", args["entry"] or "") or mw.title.getCurrentTitle() local language = m_languages.get_by_code(args[1]) local content = current:getContent() content = mw.ustring.match(content, "(==%s*" .. language.name .. "%s*==.+)\n==[^=]+==\n") or mw.ustring.match(...")
(No difference)

Navigation menu