Misplaced Pages

Module:Protection banner/config and Module:Protection banner/config/sandbox: Difference between pages

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
(Difference between pages)
Page 1
Page 2
Content deleted Content added
Latest revision as of 14:33, 13 January 2025 view sourceJonesey95 (talk | contribs)Autopatrolled, Extended confirmed users, Page movers, Mass message senders, Template editors376,608 edits fix alt text to match name of protection level  Latest revision as of 23:13, 31 October 2024 edit Aidan9382 (talk | contribs)Extended confirmed users, Page movers, Template editors15,845 edits Port changes to sandbox (we don't technically need the wrapper for Pp anymore, but in the event anything gets reverted back, leaving it in saves a minor headache, so it's whatever) 
Line 223: Line 223:
.. ' ] or' .. ' ] or'
.. ' meets the criteria for community use', .. ' meets the criteria for community use',
tooltip = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}',
alt = 'Extended-protected ${PAGETYPE}', alt = 'Extended-protected ${PAGETYPE}',
}, },
Line 320: Line 319:
.. ' ] that the page be' .. ' ] that the page be'
.. ' unprotected.', .. ' unprotected.',
tooltip = 'This high-risk ${PAGETYPE} is permanently ${PROTECTIONLEVEL}'
.. ' to prevent vandalism',
alt = 'Permanently protected ${PAGETYPE}', alt = 'Permanently protected ${PAGETYPE}',
}, },
Line 550: Line 547:
default = 'protected', default = 'protected',
templateeditor = 'template-protected', templateeditor = 'template-protected',
extendedconfirmed = 'extended-confirmed-protected', extendedconfirmed = 'extended-protected',
autoconfirmed = 'semi-protected', autoconfirmed = 'semi-protected',
}, },
Line 560: Line 557:
upload = { upload = {
default = 'upload-protected' default = 'upload-protected'
}
},

--------------------------------------------------------------------------------
-- Protection messages
--------------------------------------------------------------------------------

-- This table provides the data for the ${PROTECTIONMESSAGE} parameter, which
-- provides a plain english explanation for different protection levels. It is
-- sorted by protection action and protection level, and is checked in the
-- following order:
-- 1. page's protection action, page's protection level
-- 2. page's protection action, default protection level
-- 3. "edit" protection action, default protection level
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and upload subtables.
protectionMessages = {
edit = {
default = 'This ${PAGETYPE} is protected',
sysop = 'Only admins can edit this ${PAGETYPE}',
templateeditor = 'Only experienced template editors and admins can edit'
.. ' this ${PAGETYPE}',
extendedconfirmed = 'Only experienced users can edit this ${PAGETYPE}',
autoconfirmed = 'New users cannot edit this ${PAGETYPE}',
},
move = {
default = 'This ${PAGETYPE} is move-protected',
sysop = 'Only admins can move this ${PAGETYPE}',
extendedconfirmed = 'Only experienced users can move this ${PAGETYPE}',
autoconfirmed = 'New users cannot move this ${PAGETYPE}',
},
autoreview = {
},
upload = {
default = 'Uploading to this file is protected',
sysop = 'Only admins can upload to this file',
extendedconfirmed = 'Only experienced users can upload to this file',
autoconfirmed = 'New users cannot upload to this file',
} }
}, },
Line 742: Line 778:
= 'Misplaced Pages extended-confirmed-protected pages', = 'Misplaced Pages extended-confirmed-protected pages',
= 'Misplaced Pages extended-confirmed-protected pages', = 'Misplaced Pages extended-confirmed-protected pages',
= 'Misplaced Pages template-protected pages other than templates and modules',
= 'Misplaced Pages extended-confirmed-protected templates',
= 'Misplaced Pages fully protected templates', = 'Misplaced Pages fully protected templates',
= 'Misplaced Pages semi-protected pages', = 'Misplaced Pages semi-protected pages',
Line 757: Line 795:
= 'Misplaced Pages semi-protected templates', = 'Misplaced Pages semi-protected templates',
= 'Misplaced Pages semi-protected user and user talk pages', = 'Misplaced Pages semi-protected user and user talk pages',
= 'Misplaced Pages template-protected pages other than templates and modules',
= 'Misplaced Pages template-protected pages other than templates and modules', = 'Misplaced Pages template-protected pages other than templates and modules',
= 'Misplaced Pages template-protected templates', = 'Misplaced Pages template-protected templates',
Line 933: Line 970:
-- if not the tooltip-blurb-noexpiry message is used. -- if not the tooltip-blurb-noexpiry message is used.
-- It is possible to use banner parameters in these messages. -- It is possible to use banner parameters in these messages.
= 'This ${PAGETYPE} is ${PROTECTIONLEVEL} until ${EXPIRY}.', = '${PROTECTIONMESSAGE} until ${EXPIRY}.',
= 'This ${PAGETYPE} is ${PROTECTIONLEVEL}.', = '${PROTECTIONMESSAGE}.',
= 'This ${PAGETYPE} is ${PROTECTIONLEVEL} until ${EXPIRY},', = '${PROTECTIONMESSAGE} until ${EXPIRY},',
= 'This ${PAGETYPE} is ${PROTECTIONLEVEL}', = '${PROTECTIONMESSAGE}',


-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
Line 998: Line 1,035:
-- This is the format for the blurb expiry date. It should be valid input for -- This is the format for the blurb expiry date. It should be valid input for
-- the first parameter of the #time parser function. -- the first parameter of the #time parser function.
= 'F j, Y "at" H:i e', = 'F j, Y, "at" H:i e',


-------------------------------------------------------------------------------- --------------------------------------------------------------------------------