10,731
edits
TheNightAvl (talk | contribs) No edit summary Tag: Reverted |
TheNightAvl (talk | contribs) No edit summary Tag: Reverted |
||
Line 50: | Line 50: | ||
term = mw.ustring.gsub(term, "^[^/]+/", "") | term = mw.ustring.gsub(term, "^[^/]+/", "") | ||
end | end | ||
local | local is_multiword = string.find(term, "[%s_]") or string.find(term, " ") | ||
return { | return { | ||
term = term, | term = term, | ||
Line 60: | Line 60: | ||
labels = p["label"], | labels = p["label"], | ||
inflections = get_inflections(p[3]), | inflections = get_inflections(p[3]), | ||
multiword = | multiword = is_multiword, | ||
} | } | ||
end | end |