45,646
edits
No edit summary |
No edit summary |
||
Line 104: | Line 104: | ||
local links = {} | local links = {} | ||
for alt in gmatch(term, "([^%s,]+)") do | for alt in gmatch(term, "([^%s,]+)") do | ||
if uc then alt = gsub(alt, "^(.)", mw.ustring.upper( | if uc then alt = gsub(alt, "^(.)", function(foo) return mw.ustring.upper(foo) end) end | ||
alt = "[[Contionary:" .. alt .. "|" .. alt .. "]]" | alt = "[[Contionary:" .. alt .. "|" .. alt .. "]]" | ||
table.insert(links, alt) | table.insert(links, alt) |