Module:Protection banner: Difference between revisions

don't use the wrapper option with Module:Arguments, as it prevents us from passing through parameters from the parent frame
(Fix Protection:makeProtectionCategory for office-protected pages. For these, the reason needs to be the no. 1 priority, not just higher priority than the namespace.)
(don't use the wrapper option with Module:Arguments, as it prevents us from passing through parameters from the parent frame)
Line 830:
getArgs = require('Module:Arguments').getArgs
end
local args = getArgs(frame, {wrappers = 'Template:Pp'})
return p._main(args)
end