Module:No ping: Difference between revisions
Jump to navigation
Jump to search
m>Mr. Stradivarius m Protected Module:No ping: High-risk Lua module ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite)) |
m>TheDJ let's prepare this for 'global' usage. avoid having to correct it in the future |
||
Line 13: | Line 13: | ||
local format = string.format | local format = string.format | ||
for i, username in ipairs(args) do | for i, username in ipairs(args) do | ||
local url = fullUrl(' | 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)] |