Module:Protection banner: Difference between revisions

Jump to navigation Jump to search
allow category suppression with category=no
>Jackmcbarn
(check against edit/move, rather than for create, and simplify logic)
>Mr. Stradivarius
(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),
Anonymous user

Navigation menu