Module:Protection banner: Difference between revisions

don't set protectionDate to the current time if args.date wasn't specified
(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:
 
-- Set protection date
if args.date then
self.protectionDate = validateDate(args.date, 'protection date')
end
-- Set banner config
Anonymous user