Jump to content

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: Line 830:
getArgs = require('Module:Arguments').getArgs
getArgs = require('Module:Arguments').getArgs
end
end
local args = getArgs(frame, {wrappers = 'Template:Pp'})
local args = getArgs(frame)
return p._main(args)
return p._main(args)
end
end


return p
return p
Cookies help us deliver our services. By using our services, you agree to our use of cookies.