Module:Protection banner: Difference between revisions

get the expiry date format from a config message
Enwikipedia>Mr. Stradivarius
(output an error category if the protection object is not created properly)
Enwikipedia>Mr. Stradivarius
(get the expiry date format from a config message)
Line 358:
lang.formatDate,
lang,
self._cfg.msg['expiry-date-format'] or 'j F Y',
'@' .. tostring(num)
)