Module:Protection banner: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(use cfg.explanationBlurbs to fetch the explanation blurbs rather than hard-coding the message keys here) |
(don't set protectionDate to the current time if args.date wasn't specified) |
||
Line 128: | Line 128: | ||
-- Set protection date |
-- Set protection date |
||
if args.date then |
|||
self.protectionDate = validateDate(args.date, 'protection date') |
|||
end |
|||
-- Set banner config |
-- Set banner config |