Modul:Protection banner: Unterschied zwischen den Versionen

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)
Zeile 128: Zeile 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
Anonymer Benutzer