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))
MeowyCats2 (talk | contribs)
m 5 revisions imported
 
(5 intermediate revisions by 5 users not shown)
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('User:' .. 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)]