Module:Protection banner/config: Difference between revisions

    From Nonbinary Wiki
    w>MarcoAurelio
    No edit summary
    Line 136: Line 136:
    autoconfirmed = {
    autoconfirmed = {
    alt = 'Page protected with pending changes level 1',
    alt = 'Page protected with pending changes level 1',
    tooltip = 'All edits by unregistered and new users are subject to review',
    tooltip = 'All edits by unregistered and new users are subject to review prior to becoming visible to unregistered users',
    image = 'Padlock-silver-light.svg'
    image = 'Padlock-silver-light.svg'
    },
    },
    Line 142: Line 142:
    alt = 'Page protected with pending changes level 2',
    alt = 'Page protected with pending changes level 2',
    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 prior to becoming visible to unregistered users',
    image = 'Padlock-orange.svg'
    image = 'Padlock-orange.svg'
    }
    }
    Line 162: Line 162:
    blp = {
    blp = {
    description = 'For pages protected to promote compliance with the'
    description = 'For pages protected to promote compliance with the'
    .. ' [[w:Wikipedia:Biographies of living persons'
    .. ' [[Wikipedia:Biographies of living persons'
    .. '|biographies of living persons]] policy',
    .. '|biographies of living persons]] policy',
    text = '${INTROFRAGMENT} to promote compliance with'
    text = '${INTROFRAGMENT} to promote compliance with'
    .. ' [[w:Wikipedia:Biographies of living persons'
    .. ' [[Wikipedia:Biographies of living persons'
    .. "|Wikipedia's policy on the biographies"
    .. "|Wikipedia's policy on the biographies"
    .. ' of living people]].',
    .. ' of living people]].',
    Line 173: Line 173:
    dmca = {
    dmca = {
    description = 'For pages protected by the Wikimedia Foundation'
    description = 'For pages protected by the Wikimedia Foundation'
    .. ' due to [[Special:MyLanguage/Legal#DMCA|Digital Millennium Copyright Act]] takedown requests',
    .. ' due to [[Digital Millennium Copyright Act]] takedown requests',
    explanation = function (protectionObj, args)
    explanation = function (protectionObj, args)
    local ret = 'Pursuant to a rights owner notice under the Digital'
    local ret = 'Pursuant to a rights owner notice under the Digital'
    Line 186: Line 186:
    ret = ret .. ' For more information, including websites discussing'
    ret = ret .. ' For more information, including websites discussing'
    .. ' how to file a counter-notice, please see'
    .. ' how to file a counter-notice, please see'
    .. " [[Special:MyLanguage/Office actions|Office actions]] and the article's ${TALKPAGE}."
    .. " [[Wikipedia:Office actions]] and the article's ${TALKPAGE}."
    .. "'''Do not remove this template from the article until the"
    .. "'''Do not remove this template from the article until the"
    .. " restrictions are withdrawn'''."
    .. " restrictions are withdrawn'''."
    Line 226: Line 226:
    ecp = {
    ecp = {
    description = 'For articles in topic areas authorized by'
    description = 'For articles in topic areas authorized by'
    .. ' [[Arbitration Committee|ArbCom]] or'
    .. ' [[Wikipedia:Arbitration Committee|ArbCom]] or'
    .. ' meets the criteria for community use',
    .. ' meets the criteria for community use',
    tooltip = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}'
    tooltip = 'This ${PAGETYPE} is extended-confirmed protected',
    .. ' under extended confirmed editing restrictions',
    alt = 'Extended-protected ${PAGETYPE}',
    alt = 'Extended-protected ${PAGETYPE}',
    },
    },
    Line 235: Line 234:
    description = 'For pages protected for being displayed on the [[Main Page]]',
    description = 'For pages protected for being displayed on the [[Main Page]]',
    text = 'This file is currently'
    text = 'This file is currently'
    .. ' [[Special:MyLanguage/Help:Protection|protected]] from'
    .. ' [[Wikipedia:This page is protected|protected]] from'
    .. ' editing because it is currently or will soon be displayed'
    .. ' editing because it is currently or will soon be displayed'
    .. ' on the [[Special:MyLanguage/Main Page|Main Page]].',
    .. ' on the [[Main Page]].',
    explanation = 'Images on the Main Page are protected due to their high'
    explanation = 'Images on the Main Page are protected due to their high'
    .. ' visibility. Please discuss any necessary changes on the ${TALKPAGE}.'
    .. ' visibility. Please discuss any necessary changes on the ${TALKPAGE}.'
    Line 250: Line 249:
    local ret = 'This ${PAGETYPE} is currently under the'
    local ret = 'This ${PAGETYPE} is currently under the'
    .. ' scrutiny of the'
    .. ' scrutiny of the'
    .. ' [[Special:MyLanguage/Office actions|Wikimedia Foundation Office]]'
    .. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
    .. ' and is protected.'
    .. ' and is protected.'
    if protectionObj.protectionDate then
    if protectionObj.protectionDate then
    Line 268: Line 267:
      text = 'This ${PAGETYPE} is currently under the'
      text = 'This ${PAGETYPE} is currently under the'
    .. ' scrutiny of the'
    .. ' scrutiny of the'
    .. ' [[Special:MyLanguage/Office actions|Wikimedia Foundation Office]]'
    .. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
    .. ' and is protected.',
    .. ' and is protected.',
    explanation = function (protectionObj, args)
    explanation = function (protectionObj, args)
    Line 280: Line 279:
    .. ' simplified, "bare bones" version so that it may be completely'
    .. ' simplified, "bare bones" version so that it may be completely'
    .. ' rewritten to ensure it meets the policies of'
    .. ' rewritten to ensure it meets the policies of'
    .. ' [[Special: