Module:Protection banner/sandbox: Difference between revisions

Content deleted Content added
No edit summary
Reverted to revision 977102028 by ProcrastinatingReader (talk): Rm key stuff
Line 213:
-- Remap redirects
local reason = self.reason
local is_redirect = nil
if title.isRedirect then
is_redirect = 'redirect'
local newReason = cfg.reasonRedirectMap[reason]
if newReason then
Line 230 ⟶ 228:
{val = reason, keypos = 3},
{val = self.level, keypos = 4},
{val = self.action, keypos = 5},
{val = is_redirect, keypos = 6}
}