Jump to content

Module:Protection banner/config: Difference between revisions

add a message for the expiry date format
(use pipes as separators instead of hyphens for the protection category keys - this is to help prevent the module being confused if users specify reasons with hyphens in them)
(add a message for the expiry date format)
Line 154: Line 154:
local msg
local msg
if type(protectionObj.expiry) == 'number' then
if type(protectionObj.expiry) == 'number' then
msg = '${INTROBLURB} or until editing %s have been resolved.'
msg = '${INTROBLURB}, or until editing %s have been resolved.'
else
else
msg = '${INTROBLURB} until editing %s have been resolved.'
msg = '${INTROBLURB} until editing %s have been resolved.'
Line 705: Line 705:
['edit-request-full-display'] = 'submit a request',
['edit-request-full-display'] = 'submit a request',
['edit-request-semi-display'] = 'request an edit',
['edit-request-semi-display'] = 'request an edit',
--------------------------------------------------------------------------------
-- Expiry date format
--------------------------------------------------------------------------------
-- This is the format for the blurb expiry date. It should be valid input for
-- the first parameter of the #time parser function.
['expiry-date-format'] = 'j F, Y',


--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Cookies help us deliver our services. By using our services, you agree to our use of cookies.