Module:No ping: Difference between revisions
Jump to navigation
Jump to search
m>Jc86035 added link colour based on whether page exists |
MeowyCats2 (talk | contribs) m 5 revisions imported |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 15: | Line 15: | ||
local url = fullUrl(mw.site.namespaces.User.name .. ':' .. username) | local url = fullUrl(mw.site.namespaces.User.name .. ':' .. username) | ||
url = tostring(url) | url = tostring(url) | ||
local label = args['label' .. tostring(i)] | local label = args['label' .. tostring(i)] | ||
url = format('[%s %s]', url, label or username) | |||
url = format('[%s %s]', url, label) | |||
ret[#ret + 1] = url | ret[#ret + 1] = url | ||
end | end |