Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Protection banner: Difference between revisions

From the Lonsdale Battalion wiki
Content deleted Content added
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
Cookies help us deliver our services. By using our services, you agree to our use of cookies.