45,647
edits
Tag: Undo |
No edit summary |
||
Line 1: | Line 1: | ||
local PAGENAME = mw.title.getCurrentTitle().text | local PAGENAME = mw.title.getCurrentTitle().text | ||
local gsub = mw.ustring.gsub | local gsub = mw.ustring.gsub | ||
local match = mw.ustring.match | |||
local lang = require("Module:languages").getByCode("cel-gal") | local lang = require("Module:languages").getByCode("cel-gal") | ||
Line 63: | Line 64: | ||
if c ~= term then | if c ~= term then | ||
table.insert(ret, "* " .. m_l.full_link({term = c, lang = lang}) .. " " .. m_q.format_qualifier({"Celtic | table.insert(ret, "* " .. m_l.full_link({term = c, lang = lang}) | ||
.. (lh and ", " .. m_l.full_link({term = c:gsub("lh", "j"), lang = lang}) or "") | |||
.. " " .. m_q.format_qualifier({"Celtic"}) .. "\n") | |||
end | end | ||