Module:Protection banner/config: Difference between revisions

    From Nonbinary Wiki
    m (Reverted edits by Jackmcbarn (talk) to last version by Mr. Stradivarius)
    (reinstate the wrappers table and add the mainpage reason)
    Line 142: Line 142:
    tooltip = 'due to editing disputes',
    tooltip = 'due to editing disputes',
    },
    },
    template = {
    mainpage = {
    description = 'For [[Wikipedia:High-risk templates|high-risk]]'
    description = 'For pages protected for being displayed on the [[Main Page]].',
    .. ' templates and Lua modules.',
    text = 'This file is currently'
    text = 'This is a permanently [[Help:Protection|protected]] ${PAGETYPE},'
    .. ' [[Wikipedia:This page is protected|protected]] from'
    .. ' as it is [[Wikipedia:High-risk templates|high-risk]].',
    .. ' editing because it is currently or will soon be displayed'
    explanation = 'Please discuss any changes on the ${TALKPAGE}; you may'
    .. ' on the [[Main Page]].',
    .. ' ${EDITREQUEST} to ask an'
    explanation = 'Images on the Main Page are protected due to their high'
    .. ' [[Wikipedia:Administrators|administrator]] or'
    .. ' visibility. Please discuss any necessary changes on the ${TALKPAGE}.'
    .. ' [[Wikipedia:Template editor|template editor]] to make an edit if'
    .. '<br /><span style="font-size:90%;">'
    .. ' it is [[Help:Minor edit#When to mark an edit as a minor edit'
    .. "'''Administrators:''' Once this image is definitely off the Main Page,"
    .. '|uncontroversial]] or supported by'
    .. ' please unprotect this file, or reduce to semi-protection,'
    .. ' [[Wikipedia:Consensus|consensus]]. You can also'
    .. ' as appropriate.</span>',
    .. ' [[Wikipedia:Requests for page protection|request]] that the page be'
    .. ' unprotected.',
    tooltip = 'This high-risk ${PAGETYPE} is permanently ${PROTECTIONLEVEL}'
    .. ' to prevent vandalism',
    alt = 'Permanently protected ${PAGETYPE}',
    },
    },
    office = {
    office = {
    Line 220: Line 215:
    tooltip = '${TOOLTIPBLURB} to prevent sock puppets of blocked or banned users from'
    tooltip = '${TOOLTIPBLURB} to prevent sock puppets of blocked or banned users from'
    .. ' editing it',
    .. ' editing it',
    },
    template = {
    description = 'For [[Wikipedia:High-risk templates|high-risk]]'
    .. ' templates and Lua modules.',
    text = 'This is a permanently [[Help:Protection|protected]] ${PAGETYPE},'
    .. ' as it is [[Wikipedia:High-risk templates|high-risk]].',
    explanation = 'Please discuss any changes on the ${TALKPAGE}; you may'
    .. ' ${EDITREQUEST} to ask an'
    .. ' [[Wikipedia:Administrators|administrator]] or'
    .. ' [[Wikipedia:Template editor|template editor]] to make an edit if'
    .. ' it is [[Help:Minor edit#When to mark an edit as a minor edit'
    .. '|uncontroversial]] or supported by'
    .. ' [[Wikipedia:Consensus|consensus]]. You can also'
    .. ' [[Wikipedia:Requests for page protection|request]] that the page be'
    .. ' unprotected.',
    tooltip = 'This high-risk ${PAGETYPE} is permanently ${PROTECTIONLEVEL}'
    .. ' to prevent vandalism',
    alt = 'Permanently protected ${PAGETYPE}',
    },
    },
    usertalk = {
    usertalk = {
    Line 462: Line 475:
    ['all-all-office-all-all']              = 'Wikipedia Office-protected pages',
    ['all-all-office-all-all']              = 'Wikipedia Office-protected pages',
    ['all-all-reset-all-all']                = 'Wikipedia Office-protected pages',
    ['all-all-reset-all-all']                = 'Wikipedia Office-protected pages',
    ['all-all-mainpage-all-all']            = 'Protected main page images',
    ['all-template-all-all-edit']            = 'Wikipedia protected templates',
    ['all-template-all-all-edit']            = 'Wikipedia protected templates',
    ['all-all-all-autoconfirmed-edit']      = 'Wikipedia semi-protected pages',
    ['all-all-all-autoconfirmed-edit']      = 'Wikipedia semi-protected pages',
    Line 543: Line 557:
    ['indefinitely'] = true,
    ['indefinitely'] = true,
    ['infinite'] = true,
    ['infinite'] = true,
    },
    --------------------------------------------------------------------------------
    -- Wrapper templates and their default arguments
    --------------------------------------------------------------------------------
    wrappers = {
    ['Template:Pp'] = {},
    ['Template:Pp-blp'] = {'blp', action = 'edit'},