2,788
edits
No edit summary |
No edit summary |
||
Line 45: | Line 45: | ||
local p = m_parameters.process(args, params) | local p = m_parameters.process(args, params) | ||
local language = m_languages.get_by_code(p[1]) | local language = m_languages.get_by_code(p[1]) | ||
local term = | local term = mw.title.getCurrentTitle().text | ||
if language.proto then | if language.proto then | ||
local appendix = string.gsub(string.gsub(language.name, " ", "_"), "%-", "%%-") | local appendix = string.gsub(string.gsub(language.name, " ", "_"), "%-", "%%-") | ||
Line 54: | Line 54: | ||
term = term, | term = term, | ||
language = language, | language = language, | ||
head = p["head"], | |||
pos = p[2], | pos = p[2], | ||
genders = p["g"], | genders = p["g"], |