Module:Protection banner/config: Difference between revisions
change the padlock positions table to a padlock indicator names table for the transition to page status indicators
(- accountcreator) |
(change the padlock positions table to a padlock indicator names table for the transition to page status indicators) |
||
Line 600: | Line 600: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- Padlock | -- Padlock indicator names | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- This table provides | -- This table provides the "name" attribute for the <indicator> extension tag | ||
-- | -- with which small padlock icons are generated. All indicator tags on a page | ||
-- | -- are displayed in alphabetical order based on this attribute, and with | ||
-- | -- indicator tags with duplicate names, the last tag on the page wins. | ||
-- The attribute is chosen based on the protection action; table keys must be a | |||
autoreview = ' | -- protection action name or the string "default". | ||
default = ' | padlockIndicatorNames = { | ||
autoreview = 'pp-autoreview', | |||
default = 'pp-default' | |||
}, | }, | ||