Module:Protection banner: Difference between revisions
Content added Content deleted
Enwikipedia>Jackmcbarn (check against edit/move, rather than for create, and simplify logic) |
Enwikipedia>Mr. Stradivarius (allow category suppression with category=no) |
||
Line 1,041: | Line 1,041: | ||
-- Render the categories |
-- Render the categories |
||
if yesno(args.category) ~= false then |
|||
do |
|||
local objects = { |
local objects = { |
||
ProtectionCategory:new(configObj, protectionObj, titleObj), |
ProtectionCategory:new(configObj, protectionObj, titleObj), |