Module:Protection banner/config: Difference between revisions
Content added Content deleted
Enwikipedia>Mr. Stradivarius (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) |
Enwikipedia>Mr. Stradivarius (switch to the new version using <indicator> tags) |
||
Line 600: | Line 600: | ||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
-- Padlock |
-- Padlock indicator names |
||
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
||
-- This table provides the |
-- 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 |
|||
-- top icons. The data is stored by protection action. If no value is found for |
|||
-- indicator tags with duplicate names, the last tag on the page wins. |
|||
-- the action, the default field is used. |
|||
-- The attribute is chosen based on the protection action; table keys must be a |
|||
padlockPositions = { |
|||
-- protection action name or the string "default". |
|||
⚫ | |||
padlockIndicatorNames = { |
|||
⚫ | |||
⚫ | |||
⚫ | |||
}, |
}, |
||