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