Jump to content

Module:Protection banner: Difference between revisions

allow category suppression with category=no
(check against edit/move, rather than for create, and simplify logic)
(allow category suppression with category=no)
Line 1,041: Line 1,041:
-- Render the categories
-- Render the categories
do
if yesno(args.category) ~= false then
local objects = {
local objects = {
ProtectionCategory:new(configObj, protectionObj, titleObj),
ProtectionCategory:new(configObj, protectionObj, titleObj),
Cookies help us deliver our services. By using our services, you agree to our use of cookies.