Module:add etymology: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 7: Line 7:
function export.format(frame)
function export.format(frame)
local args = getArgs(frame)
local args = getArgs(frame)
local current = mw.title.makeTitle("", args["entry"] or "") or mw.title.getCurrentTitle()
local current = (args["entry"] and mw.title.makeTitle("", args["entry"])) or mw.title.getCurrentTitle()
local language = m_languages.get_by_code(args[1])
local language = m_languages.get_by_code(args[1])

Navigation menu