"ମଡ୍ୟୁଲ:Protection banner/config" ପୃଷ୍ଠାର ସଂସ୍କରଣ‌ଗୁଡ଼ିକ ମଧ୍ୟରେ ତଫାତ

Content deleted Content added
imported>MSGJ
replace red with gold, per changes on policy page
add support for upload protection
୧୩୨ କ ଧାଡ଼ି:
-- The default banner data. This holds banner data for different protection
-- levels.
-- *required* - this table needs edit, move, autoreview and autoreviewupload subtables.
defaultBanners = {
edit = {},
୧୪୭ କ ଧାଡ଼ି:
.. ' subject to review',
}
},
upload = {}
},
 
Line ୧୫୮ ⟶ ୧୫୯:
-- module documentation.
--
-- *required* - this table needs edit, move, autoreview and autoreviewupload subtables.
banners = {
edit = {
Line ୩୬୭ ⟶ ୩୬୮:
}
},
autoreview = {},
upload = {}
},
 
Line ୩୮୮ ⟶ ୩୯୦:
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and autoreviewupload subtables.
protectionBlurbs = {
edit = {
Line ୪୧୧ ⟶ ୪୧୩:
.. ' [[Wikipedia:Administrators|administrators]] are currently'
.. ' [[Wikipedia:Pending changes|subject to review]]'
},
upload = {
default = 'Uploading new versions of this ${PAGETYPE} is currently disabled'
}
},
Line ୪୩୦ ⟶ ୪୩୫:
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and autoreviewupload subtables.
explanationBlurbs = {
edit = {
Line ୫୧୦ ⟶ ୫୧୫:
.. ' [[Special:UserLogin/signup|create an account]].'
},
},
upload = {
default = {
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' The page may still be edited but new versions of the file'
.. ' cannot be uploaded until it is unprotected. You can'
.. ' request that a new version be uploaded by using a'
.. ' [[Wikipedia:Edit requests|protected edit request]], or you'
.. ' can [[Wikipedia:Requests for page protection|request]]'
.. ' that the file be unprotected.'
}
}
},
Line ୫୧୯ ⟶ ୫୩୬:
-- This table provides the data for the ${PROTECTIONLEVEL} parameter, which
-- produces a short label for different protection levels. It is sorted by
-- protection action and protecitonprotection level, and is checked in the following
-- order:
-- 1. page's protection action, page's protection level
Line ୫୨୬ ⟶ ୫୪୩:
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and autoreviewupload subtables.
protectionLevels = {
edit = {
Line ୫୩୭ ⟶ ୫୫୪:
},
autoreview = {
},
upload = {
default = 'upload-protected'
}
},
Line ୫୬୨ ⟶ ୫୮୨:
autoconfirmed = 'Padlock-silver-light.svg',
default = 'Padlock-orange.svg'
},
upload = {
default = 'Padlock-purple.svg'
}
},
Line ୫୮୩ ⟶ ୬୦୬:
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and autoreviewupload subtables.
imageLinks = {
edit = {
Line ୫୯୬ ⟶ ୬୧୯:
autoconfirmed = 'Wikipedia:Protection policy#pc1',
reviewer = 'Wikipedia:Protection policy#pc2'
},
upload = {
default = 'Wikipedia:Protection policy#upload'
}
},
Line ୭୫୩ ⟶ ୭୭୯:
['all|all|all|autoconfirmed|autoreview'] = 'Wikipedia pending changes protected pages (level 1)',
['all|all|all|reviewer|autoreview'] = 'Wikipedia pending changes protected pages (level 2)',
['all|file|all|all|upload'] = 'Wikipedia upload-protected files',
},
 
Line ୭୭୩ ⟶ ୮୦୦:
edit = nil,
move = false,
autoreview = true,
upload = false
},
 
Line ୮୩୯ ⟶ ୮୬୭:
--
-- When a user calls one of these wrapper templates, they will use the
-- default arguments automatically. TheHowever, argumentsusers cannotcan beoverride overwrittenany byof the
-- userarguments.
wrappers = {
['Template:Pp'] = {},
Line ୮୫୯ ⟶ ୮୮୭:
['Template:Pp-sock'] = {'sock'},
['Template:Pp-template'] = {'template', small = true},
['Template:Pp-upload'] = {action = 'upload'},
['Template:Pp-usertalk'] = {'usertalk'},
['Template:Pp-vandalism'] = {'vandalism'},