Content deleted Content added
xpcall for better traceback cause it keeps failing due to some PCRE magic |
temporary user stuff (from mw:Trust and Safety Product/Temporary Accounts#Updates) |
||
(One intermediate revision by the same user not shown) | |||
Line 23:
local final = ""
for _,user in next,users do
if string.match(user,"^%d+%.%d+%.%d+%.%d+$") or string.match(user,"^%x+:[%x:]+$") or string.match(user, "^~%d%d%d%d%-%d%d%d%d%d%-%d%d%d$") then --Lazy but mostly working basic IPv6 regex
final = final .. "[[Special:Contributions/"..user.."|"..user.."]], "
else
Line 77:
identifier = string.gsub(identifier,"_"," ")
if not string.find(identifier,"/") then --Avoid subpage nonsense
usersOnThisLine[string.find(targetText,reg)] = identifier
end
Line 185 ⟶ 184:
end
end
local firstComment,lastComment
|