Module:Protection banner: Difference between revisions

Content deleted Content added
output an error category if the protection object is not created properly
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)
)