Anonymous user
Module:Protection banner/config: Difference between revisions
add a message for the expiry date format
Enwikipedia>Mr. Stradivarius (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) |
Enwikipedia>Mr. Stradivarius (add a message for the expiry date format) |
||
Line 154:
local msg
if type(protectionObj.expiry) == 'number' then
msg = '${INTROBLURB}, or until editing %s have been resolved.'
else
msg = '${INTROBLURB} until editing %s have been resolved.'
Line 705:
['edit-request-full-display'] = 'submit a request',
['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',
--------------------------------------------------------------------------------
|