Module:IPA: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "local export = {} -- Module:IPA/data local m_data = mw.loadData('Module:IPA/data') -- Module:IPA/data local m_symbols = mw.loadData('Module:IPA/data/symbols') -- [[Mo...")
 
No edit summary
Line 22: Line 22:
else
else
if hasKey[lang:getCode()] then
if hasKey[lang:getCode()] then
IPA_key = "Appendix:" .. lang:getCanonicalName() .. " pronunciation"
IPA_key = "wikt:Appendix:" .. lang:getCanonicalName() .. " pronunciation"
else
else
IPA_key = "wikipedia:" .. lang:getCanonicalName() .. " phonology"
IPA_key = "wikipedia:" .. lang:getCanonicalName() .. " phonology"
Line 31: Line 31:


local prefix = "[[Wiktionary:International Phonetic Alphabet|IPA]]<sup>(" .. ( key_link or err_text ) .. ")</sup>:&#32;"
local prefix = "[[wikt:Wiktionary:International Phonetic Alphabet|IPA]]<sup>(" .. ( key_link or err_text ) .. ")</sup>:&#32;"
IPAs = export.format_IPA_multiple(lang, items, separator, no_count)
IPAs = export.format_IPA_multiple(lang, items, separator, no_count)

Navigation menu