Content deleted Content added
fix aliases |
notes |
||
Line 4:
local lects = mw.loadData('Module:IPA/data/export')
local function
▲ string.format(' <small>(%s)</small>', table.concat(notes, '; '))
)▼
end▼
end
Line 63 ⟶ 59:
table.insert(aliases, alias)
end
'also <code>%s</code>',
▲ ))
)▼
end
do
Line 83 ⟶ 77:
end
cells[2]:wikitext(lect.name or lect.extName)
addNote(cells[2], table.concat(notes, '; '))
end
do
local
local intLink = lect.link or lect.generatedLink
if intLink then
if intLink == lect.extLink then
elseif lect.extLink then
local intTitle = mw.title.new(intLink)
intTitle = intTitle.redirectTarget or intTitle
Line 100 ⟶ 96:
note = note .. ', a different article'
end
end
end
Line 106 ⟶ 101:
s = lect.generatedLink and '([[' .. s .. ']])' or '[[' .. s .. ']]'
cells[3]:wikitext(s)
if note then
end
cells[4]:wikitext(
|