Module:Protection banner/config: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
(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: | Line 600: | ||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
-- Padlock |
-- Padlock positions |
||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
-- This table provides the |
-- This table provides the data for the "right" CSS property for small padlock |
||
-- |
-- icons, which determines where the icon appears on the top bar among the other |
||
-- 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 |
|||
⚫ | |||
-- protection action name or the string "default". |
|||
⚫ | |||
padlockIndicatorNames = { |
|||
⚫ | |||
⚫ | |||
}, |
}, |
||