Module:Sandbox/逆襲的天邪鬼/vandalism explained

--Just for fun.--

local func =

local function rfind(s, pattern, init) local x, y local len = #s local i = init or len x, y = string.find(string.reverse(s), string.reverse(pattern), len-i+1, true) if x then return len-y+1, len-x+1 endend

-- TODO: fix for English Wikipediafunction func.eatuserbox(frame) local text = frame.args[1] or local output = output = string.gsub(text, '(class="wikipediauserbox" style=".-)"', '%1;visibility:hidden;"') output = string.gsub(output, '(style=".-)(" class="wikipediauserbox")', '%1;visibility:hidden;%2') output = string.gsub(output, '(class="wikipediauserbox%-m" style=".-)"', '%1;visibility:hidden;"') output = string.gsub(output, '(

%s*