Module:headword: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 578: Line 578:
for _, aff in ipairs(data.affix) do
for _, aff in ipairs(data.affix) do
if mw.ustring.match(aff, "^%-[^-]*%-$") then
if mw.ustring.match(aff, "^%-[^-]*%-$") then
table.insert(data.categories, data.lang:getCanonicalName() .. " words infixed with " .. aff)
table.insert(data.categories, data.lang:getCanonicalName() .. " words interfixed with " .. aff)
elseif mw.ustring.match(aff, "%-%s%-") then
elseif mw.ustring.match(aff, "%-%s%-") then
table.insert(data.categories, data.lang:getCanonicalName() .. " words circumfixed with " .. aff)
table.insert(data.categories, data.lang:getCanonicalName() .. " words circumfixed with " .. aff)