12,303
edits
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) No edit summary |
||
(16 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
[3] = {list = true}, | [3] = {list = true}, | ||
["g"] = {list = true}, | ["g"] = {list = true}, | ||
["label"] = {list = true}, | |||
["label"] = { | |||
["head"] = {}, | ["head"] = {}, | ||
["nocat"] = {type = "boolean"}, | ["nocat"] = {type = "boolean"}, | ||
Line 47: | Line 46: | ||
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 = mw.title.getCurrentTitle(). | local term = mw.title.getCurrentTitle().subpageText | ||
return { | return { | ||
term = term, | term = term, | ||
Line 58: | Line 54: | ||
head = p["head"], | head = p["head"], | ||
nocat = p["nocat"], | nocat = p["nocat"], | ||
labels = p["label"], | |||
inflections = get_inflections(p[3]), | inflections = get_inflections(p[3]), | ||
} | } |