Difference between revisions of "Module:Uses TemplateStyles/config"
Module:Uses TemplateStyles/config (view source)
Revision as of 04:13, 15 July 2020
, 04:13, 15 July 2020None of these categories exist
>Tacsipacsi (Created page with "local cfg = {} -- Don’t touch this line. -- Subpage blacklist: these subpages will not be categorized (except for the -- error category, which is always added if there is a...") |
>Pppery (None of these categories exist) |
||
Line 23: | Line 23: | ||
-- (e.g. no stylesheet listed). A category name without namespace, or nil | -- (e.g. no stylesheet listed). A category name without namespace, or nil | ||
-- to disable categorization (not recommended). | -- to disable categorization (not recommended). | ||
cfg['error_category'] = | cfg['error_category'] = nil | ||
-- Default category: this category is added if no custom category is specified | -- Default category: this category is added if no custom category is specified | ||
-- in module/template call. A category name without namespace, or nil | -- in module/template call. A category name without namespace, or nil | ||
-- to disable categorization. | -- to disable categorization. | ||
cfg['default_category'] = | cfg['default_category'] = nil | ||
-- Protection conflict category: this category is added if the protection level | -- Protection conflict category: this category is added if the protection level | ||
-- of any stylesheet differs from the one of the template. A category name | -- of any stylesheet differs from the one of the template. A category name | ||
-- without namespace, or nil to disable categorization (not recommended). | -- without namespace, or nil to disable categorization (not recommended). | ||
cfg['protection_conflict_category'] = | cfg['protection_conflict_category'] = nil | ||
-- Padlock pattern: Lua pattern to search on protected stylesheets for, or nil | -- Padlock pattern: Lua pattern to search on protected stylesheets for, or nil | ||
Line 43: | Line 43: | ||
-- A category name without namespace (no nil allowed) if the pattern is not nil, | -- A category name without namespace (no nil allowed) if the pattern is not nil, | ||
-- unused (and thus may be nil) otherwise. | -- unused (and thus may be nil) otherwise. | ||
cfg['missing_padlock_category'] = | cfg['missing_padlock_category'] = nil | ||
return cfg -- Don’t touch this line. | return cfg -- Don’t touch this line. |