Module:affix: Difference between revisions
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
| Line 275: | Line 275: | ||
local function glossary_link(entry, text) | local function glossary_link(entry, text) | ||
text = text or entry | text = text or entry | ||
return "[[ | return "[[Appendix:Glossary#" .. entry .. "|" .. text .. "]]" | ||
end | end | ||
| Line 893: | Line 893: | ||
process_etymology_type(data.type, data.surface_analysis or data.nocap, data.notext, #data.parts > 0) | process_etymology_type(data.type, data.surface_analysis or data.nocap, data.notext, #data.parts > 0) | ||
data.borrowing_type = borrowing_type | data.borrowing_type = borrowing_type | ||
-- Process each part | -- Process each part | ||
local whole_words = 0 | local whole_words = 0 | ||
| Line 1,063: | Line 1,063: | ||
data.pos = pluralize(data.pos) | data.pos = pluralize(data.pos) | ||
local text_sections, categories, borrowing_type = | local text_sections, categories, borrowing_type = | ||
process_etymology_type(data.type, data.nocap, data.notext, #data.parts > 0) | |||
data.borrowing_type = borrowing_type | |||
local parts_formatted = {} | local parts_formatted = {} | ||
table.insert(categories, "compound " .. data.pos) | table.insert(categories, "compound " .. data.pos) | ||