Module:Redirect/sandbox: Difference between revisions

Content deleted Content added
m bug in debug
m de-debug
Line 125:
local link = " " -- true
local display = "" -- false
local debuglog = ""
while link do
if not(start) and link ~= " " then
Line 131 ⟶ 130:
newLink = getRedirect(link)
if newLink and (newLink ~= link) then
debuglog = debuglog .. tostring(link).."|"..tostring(warOnGsub(link,nil)).."|"..tostring(newLink).."|"..tostring(warOnGsub(newLink,true)).."|||"
link = warOnGsub(link, nil)
newLink = warOnGsub(newLink, true)
Line 148 ⟶ 146:
end
end
return debuglog -- nowikize(frame, text, nowiki, true)
end