Jump to content

Module:Protection banner/config: Difference between revisions

Fix for Template talk:Db-a1 and similar template-protected non-template redirects being miscategorized into Category:Wikipedia fully protected pages.
m (1 revision imported)
 
en>SilverLocust
(Fix for Template talk:Db-a1 and similar template-protected non-template redirects being miscategorized into Category:Wikipedia fully protected pages.)
Line 163: Line 163:
.. ' of living people]].',
.. ' of living people]].',
tooltip = '${TOOLTIPFRAGMENT} to promote compliance with the policy on'
tooltip = '${TOOLTIPFRAGMENT} to promote compliance with the policy on'
.. ' biographies of living people',
.. ' biographies of living persons',
},
},
dmca = {
dmca = {
Line 222: Line 222:
.. ' [[Wikipedia: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 extended-confirmed protected',
tooltip = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}',
alt = 'Extended-protected ${PAGETYPE}',
alt = 'Extended-protected ${PAGETYPE}',
},
},
Line 732: Line 732:


protectionCategories = {
protectionCategories = {
['all|all|all|all|all']                 = 'Wikipedia fully protected pages',
['all|all|all|all|all']                     = 'Wikipedia fully protected pages',
['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|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 extended-confirmed-protected pages',
['all|all|all|extendedconfirmed|all']       = 'Wikipedia extended-confirmed-protected pages',
['all|all|ecp|extendedconfirmed|all']   = 'Wikipedia extended-confirmed-protected pages',
['all|all|ecp|extendedconfirmed|all']       = 'Wikipedia extended-confirmed-protected pages',
['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',
['indef|all|all|autoconfirmed|edit']     = 'Wikipedia indefinitely semi-protected pages',
['indef|all|all|autoconfirmed|edit']       = 'Wikipedia indefinitely semi-protected pages',
['all|all|blp|autoconfirmed|edit']       = 'Wikipedia indefinitely semi-protected biographies of living people',
['all|all|blp|autoconfirmed|edit']         = 'Wikipedia indefinitely semi-protected biographies of living people',
['temp|all|blp|autoconfirmed|edit']     = 'Wikipedia temporarily semi-protected biographies of living people',
['temp|all|blp|autoconfirmed|edit']         = 'Wikipedia temporarily semi-protected biographies of living people',
['all|all|dispute|autoconfirmed|edit']   = 'Wikipedia pages semi-protected due to dispute',
['all|all|dispute|autoconfirmed|edit']     = 'Wikipedia pages semi-protected due to dispute',
['all|all|sock|autoconfirmed|edit']     = 'Wikipedia pages semi-protected from banned users',
['all|all|sock|autoconfirmed|edit']         = 'Wikipedia pages semi-protected from banned users',
['all|all|vandalism|autoconfirmed|edit'] = 'Wikipedia pages semi-protected against vandalism',
['all|all|vandalism|autoconfirmed|edit']   = 'Wikipedia pages semi-protected against vandalism',
['all|category|all|autoconfirmed|edit'] = 'Wikipedia semi-protected categories',
['all|category|all|autoconfirmed|edit']     = 'Wikipedia semi-protected categories',
['all|file|all|autoconfirmed|edit']     = 'Wikipedia semi-protected files',
['all|file|all|autoconfirmed|edit']         = 'Wikipedia semi-protected files',
['all|portal|all|autoconfirmed|edit']   = 'Wikipedia semi-protected portals',
['all|portal|all|autoconfirmed|edit']       = 'Wikipedia semi-protected portals',
['all|project|all|autoconfirmed|edit']   = 'Wikipedia semi-protected project pages',
['all|project|all|autoconfirmed|edit']     = 'Wikipedia semi-protected project pages',
['all|talk|all|autoconfirmed|edit']     = 'Wikipedia semi-protected talk pages',
['all|talk|all|autoconfirmed|edit']         = 'Wikipedia semi-protected talk pages',
['all|template|all|autoconfirmed|edit'] = 'Wikipedia semi-protected templates',
['all|template|all|autoconfirmed|edit']     = 'Wikipedia semi-protected templates',
['all|user|all|autoconfirmed|edit']     = 'Wikipedia semi-protected user and user talk pages',
['all|user|all|autoconfirmed|edit']         = 'Wikipedia semi-protected user and user talk pages',
['all|template|all|templateeditor|edit'] = 'Wikipedia template-protected templates',
['all|all|all|templateeditor|move']        = 'Wikipedia template-protected pages other than templates and modules',
['all|all|blp|sysop|edit']               = 'Wikipedia indefinitely protected biographies of living people',
['all|all|all|templateeditor|edit']        = 'Wikipedia template-protected pages other than templates and modules',
['temp|all|blp|sysop|edit']             = 'Wikipedia temporarily protected biographies of living people',
['all|template|all|templateeditor|edit']   = 'Wikipedia template-protected templates',
['all|all|dispute|sysop|edit']           = 'Wikipedia pages protected due to dispute',
['all|template|all|templateeditor|move']    = 'Wikipedia template-protected templates', -- move-protected templates
['all|all|sock|sysop|edit']             = 'Wikipedia pages protected from banned users',
['all|all|blp|sysop|edit']                 = 'Wikipedia indefinitely protected biographies of living people',
['all|all|vandalism|sysop|edit']         = 'Wikipedia pages protected against vandalism',
['temp|all|blp|sysop|edit']                 = 'Wikipedia temporarily protected biographies of living people',
['all|category|all|sysop|edit']         = 'Wikipedia fully protected categories',
['all|all|dispute|sysop|edit']             = 'Wikipedia pages protected due to dispute',
['all|file|all|sysop|edit']             = 'Wikipedia fully-protected files',
['all|all|sock|sysop|edit']                 = 'Wikipedia pages protected from banned users',
['all|project|all|sysop|edit']           = 'Wikipedia fully-protected project pages',
['all|all|vandalism|sysop|edit']           = 'Wikipedia pages protected against vandalism',
['all|talk|all|sysop|edit']             = 'Wikipedia fully-protected talk pages',
['all|category|all|sysop|edit']             = 'Wikipedia fully protected categories',
['all|template|all|sysop|edit']         = 'Wikipedia fully protected templates',
['all|file|all|sysop|edit']                 = 'Wikipedia fully protected files',
['all|user|all|sysop|edit']             = 'Wikipedia fully protected user and user talk pages',
['all|project|all|sysop|edit']             = 'Wikipedia fully protected project pages',
['all|module|all|all|edit']             = 'Wikipedia fully-protected modules',
['all|talk|all|sysop|edit']                 = 'Wikipedia fully protected talk pages',
['all|module|all|templateeditor|edit']   = 'Wikipedia template-protected modules',
['all|template|all|extendedconfirmed|edit'] = 'Wikipedia extended-confirmed-protected templates',
['all|module|all|autoconfirmed|edit']   = 'Wikipedia semi-protected modules',
['all|template|all|sysop|edit']             = 'Wikipedia fully protected templates',
['all|all|all|sysop|move']               = 'Wikipedia move-protected pages',
['all|user|all|sysop|edit']                 = 'Wikipedia fully protected user and user talk pages',
['indef|all|all|sysop|move']             = 'Wikipedia indefinitely move-protected pages',
['all|module|all|all|edit']                 = 'Wikipedia fully protected modules',
['all|all|dispute|sysop|move']           = 'Wikipedia pages move-protected due to dispute',
['all|module|all|templateeditor|edit']     = 'Wikipedia template-protected modules',
['all|all|vandalism|sysop|move']         = 'Wikipedia pages move-protected due to vandalism',
['all|module|all|extendedconfirmed|edit']   = 'Wikipedia extended-confirmed-protected modules',
['all|portal|all|sysop|move']            = 'Wikipedia move-protected portals',
['all|module|all|autoconfirmed|edit']       = 'Wikipedia semi-protected modules',
['all|portal|all|sysop|move']           = 'Wikipedia move-protected portals',
['all|all|all|sysop|move']                 = 'Wikipedia move-protected pages',
['all|project|all|sysop|move']           = 'Wikipedia move-protected project pages',
['indef|all|all|sysop|move']               = 'Wikipedia indefinitely move-protected pages',
['all|talk|all|sysop|move']             = 'Wikipedia move-protected talk pages',
['all|all|dispute|sysop|move']             = 'Wikipedia pages move-protected due to dispute',
['all|template|all|sysop|move']         = 'Wikipedia move-protected templates',
['all|all|vandalism|sysop|move']            = 'Wikipedia pages move-protected due to vandalism',
['all|user|all|sysop|move']             = 'Wikipedia move-protected user and user talk pages',
['all|portal|all|sysop|move']               = 'Wikipedia move-protected portals',
['all|all|all|autoconfirmed|autoreview'] = 'Wikipedia pending changes protected pages',
['all|project|all|sysop|move']             = 'Wikipedia move-protected project pages',
['all|file|all|all|upload']             = 'Wikipedia upload-protected files',
['all|talk|all|sysop|move']                 = 'Wikipedia move-protected talk pages',
['all|template|all|sysop|move']             = 'Wikipedia move-protected templates',
['all|user|all|sysop|move']                 = 'Wikipedia move-protected user and user talk pages',
['all|all|all|autoconfirmed|autoreview']   = 'Wikipedia pending changes protected pages',
['all|file|all|all|upload']                 = 'Wikipedia upload-protected files',
},
},


Line 878: Line 882:
['Template:Pp-dispute']                = {'dispute'},
['Template:Pp-dispute']                = {'dispute'},
['Template:Pp-main-page']              = {'mainpage'},
['Template:Pp-main-page']              = {'mainpage'},
['Template:Pp-move']                    = {action = 'move'},
['Template:Pp-move']                    = {action = 'move', catonly = 'yes'},
['Template:Pp-move-dispute']            = {'dispute', action = 'move'},
['Template:Pp-move-dispute']            = {'dispute', action = 'move', catonly = 'yes'},
-- we don't need Template:Pp-move-indef
-- we don't need Template:Pp-move-indef
['Template:Pp-move-vandalism']          = {'vandalism', action = 'move'},
['Template:Pp-move-vandalism']          = {'vandalism', action = 'move', catonly = 'yes'},
['Template:Pp-office']                  = {'office'},
['Template:Pp-office']                  = {'office'},
['Template:Pp-office-dmca']            = {'dmca'},
['Template:Pp-office-dmca']            = {'dmca'},
Anonymous user