Module:Protection banner/config: Difference between revisions

    From Nonbinary Wiki
    (remove some periods and add wikilink, per request of User:Voidxor)
    (add extended confirmed protection banners per protected edit request by User:Andy M. Wang)
    Line 146: Line 146:
    tooltip = 'All edits by users who are not reviewers or administrators are'
    tooltip = 'All edits by users who are not reviewers or administrators are'
    .. ' subject to review',
    .. ' subject to review',
    image = 'Padlock-orange.svg'
    }
    }
    },
    },
    Line 225: Line 226:
    .. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
    .. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
    tooltip = '${TOOLTIPFRAGMENT} due to editing disputes',
    tooltip = '${TOOLTIPFRAGMENT} due to editing disputes',
    },
    ecp = {
    description = 'For articles in topic areas authorized by'
    .. ' [[Wikipedia:Arbitration Committee|ArbCom]] or'
    .. ' meets the criteria for community use',
    tooltip = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}'
    .. ' under extended confirmed editing restrictions',
    alt = 'Extended-protected ${PAGETYPE}',
    },
    },
    mainpage = {
    mainpage = {
    Line 397: Line 406:
    autoconfirmed = 'Editing of this ${PAGETYPE} by [[Wikipedia:User access'
    autoconfirmed = 'Editing of this ${PAGETYPE} by [[Wikipedia:User access'
    .. ' levels#New users|new]] or [[Wikipedia:User access levels#Unregistered'
    .. ' levels#New users|new]] or [[Wikipedia:User access levels#Unregistered'
    .. ' users|unregistered]] users is currently [[Help:Protection|disabled]]'
    .. ' users|unregistered]] users is currently [[Help:Protection|disabled]]',
    extendedconfirmed = 'This ${PAGETYPE} is ${PROTECTIONLEVEL} as a result of'
    .. ' [[Wikipedia:Arbitration Committee|ArbCom]] enforcement or meets the'
    .. ' [[Wikipedia:Protection policy#extended|criteria for community use]]',
    },
    },
    move = {
    move = {
    Line 454: Line 466:
    .. '|request unprotection]], [[Special:Userlogin|log in]], or'
    .. '|request unprotection]], [[Special:Userlogin|log in]], or'
    .. ' [[Special:UserLogin/signup|create an account]].',
    .. ' [[Special:UserLogin/signup|create an account]].',
    },
    extendedconfirmed = {
    default = 'Extended confirmed protection prevents edits from all IP editors'
    .. ' and registered users with fewer than 30 days tenure and 500 edits.'
    .. ' The [[Wikipedia:Protection policy#extended|policy on community use]]'
    .. ' specifies that extended confirmed protection can be applied to combat'
    .. ' disruption, given that semi-protection has proven to be ineffective.'
    .. ' Please discuss any changes on the ${TALKPAGE}; you may'
    .. ' ${EDITREQUEST} to ask for unconversial changes supported by'
    .. ' [[Wikipedia:Consensus|consensus]].'
    },
    },
    default = {
    default = {
    Line 548: Line 570:
    default = 'protected',
    default = 'protected',
    templateeditor = 'template-protected',
    templateeditor = 'template-protected',
    extendedconfirmed = 'extended-protected',
    autoconfirmed = 'semi-protected',
    autoconfirmed = 'semi-protected',
    },
    },
    Line 574: Line 597:
    default = 'Padlock.svg',
    default = 'Padlock.svg',
    templateeditor = 'Padlock-pink.svg',
    templateeditor = 'Padlock-pink.svg',
    extendedconfirmed = 'Padlock-blue.svg',
    autoconfirmed = 'Padlock-silver.svg'
    autoconfirmed = 'Padlock-silver.svg'
    },
    },
    Line 611: Line 635:
    default = 'Wikipedia:Protection policy#full',
    default = 'Wikipedia:Protection policy#full',
    templateeditor = 'Wikipedia:Protection policy#template',
    templateeditor = 'Wikipedia:Protection policy#template',
    extendedconfirmed = 'Wikipedia:Protection policy#extended',
    autoconfirmed = 'Wikipedia:Protection policy#semi'
    autoconfirmed = 'Wikipedia:Protection policy#semi'
    },
    },
    Line 737: Line 762:
    ['all|all|dmca|all|all']                = 'Wikipedia Office-protected pages',
    ['all|all|dmca|all|all']                = 'Wikipedia Office-protected pages',
    ['all|all|mainpage|all|all']            = 'Wikipedia fully-protected main page files',
    ['all|all|mainpage|all|all']            = 'Wikipedia fully-protected main page files',
    ['all|all|all|extendedconfirmed|all']    = 'Wikipedia pages under 30-500 editing restriction',
    ['all|all|ecp|extendedconfirmed|all']    = 'Wikipedia pages under 30-500 editing restriction',
    ['all|template|all|all|edit']            = 'Wikipedia fully-protected templates',
    ['all|template|all|all|edit']            = 'Wikipedia fully-protected templates',
    ['all|all|all|autoconfirmed|edit']      = 'Wikipedia semi-protected pages',
    ['all|all|all|autoconfirmed|edit']      = 'Wikipedia semi-protected pages',
    Line 848: Line 875:
    filemover = {'sysop'},
    filemover = {'sysop'},
    templateeditor = {'sysop'},
    templateeditor = {'sysop'},
    autoconfirmed = {'reviewer', 'filemover', 'templateeditor'},
    extendedconfirmed = {'sysop'},
    autoconfirmed = {'reviewer', 'filemover', 'templateeditor', 'extendedconfirmed'},
    user = {'autoconfirmed'},
    user = {'autoconfirmed'},
    ['*'] = {'user'}
    ['*'] = {'user'}
    Line 871: Line 899:
    wrappers = {
    wrappers = {