Module:Protection banner/config: Difference between revisions

undo for now - the code looks good, but we will need to change everything over at the same time to avoid it looking like a giant mess
(change the padlock positions table to a padlock indicator names table for the transition to page status indicators)
(undo for now - the code looks good, but we will need to change everything over at the same time to avoid it looking like a giant mess)
Line 600:
 
--------------------------------------------------------------------------------
-- Padlock indicator namespositions
--------------------------------------------------------------------------------
 
-- This table provides the "name" attributedata for the <indicator>"right" CSS property for extensionsmall tagpadlock
-- withicons, which smalldetermines padlockwhere iconsthe areicon generated.appears Allon indicatorthe tagstop onbar among athe pageother
-- top icons. The data is stored by protection action. If no value is found for
-- are displayed in alphabetical order based on this attribute, and with
-- the action, the default field is used.
-- indicator tags with duplicate names, the last tag on the page wins.
padlockPositions = {
-- The attribute is chosen based on the protection action; table keys must be a
autoreview = 'pp-autoreview85px',
-- protection action name or the string "default".
default = 'pp-default55px'
padlockIndicatorNames = {
autoreview = 'pp-autoreview',
default = 'pp-default'
},