47,697
edits
![]() | We're back! Sorry, bad combo of sickness, funeral and a month-long trip abroad. The site is back now. ![]() |
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
local gsplit = mw.text.gsplit | local gsplit = mw.text.gsplit | ||
local PAGENAME = gsub(mw.title.getCurrentTitle().text, "%s", " | local PAGENAME = gsub(mw.title.getCurrentTitle().text, "%s", "|") | ||
local NAMESPACE = mw.title.getCurrentTitle().nsText | local NAMESPACE = mw.title.getCurrentTitle().nsText | ||
Line 103: | Line 103: | ||
local function link(term) | local function link(term) | ||
local links = {} | local links = {} | ||
for alt in gmatch(term, "([^ ,]+)") do | for alt in gmatch(term, "([^%s,]+)") do | ||
alt = "[[Contionary:" .. alt .. "|" .. alt .. "]]" | alt = "[[Contionary:" .. alt .. "|" .. alt .. "]]" | ||
table.insert(links, alt) | table.insert(links, alt) |