Module:Protection banner: Difference between revisions
small code
(add some more to the banner.new function) |
(small code) |
||
Line 268: | Line 268: | ||
end | end | ||
end | end | ||
end | |||
-- Find whether we are outputting a padlock or a full banner. | |||
if obj.small == nil then | |||
-- Let the config data take precedence over user-specified arguments | |||
obj.small = yesno(args.small) or false | |||
end | end | ||