Module:IPA/overview: Difference between revisions

Content deleted Content added
mNo edit summary
simpler
Line 2:
local p = {}
 
local data = mw.title.getCurrentTitle().subpageText == 'sandbox'
and mw.loadData('Module:IPA/data/sandbox')
or mw.loadData('Module:IPA/data')
local lects = mw.loadData('Module:IPA/data/export')
 
Line 109 ⟶ 106:
cells[4]:wikitext(
lect.key and '[[' .. lect.key .. ']]' or
'([[' .. (lect.parent and lect.parent.key or data.defaultKey'Help:IPA') .. ']])'
)
end