Module:Uses TemplateStyles/config: Difference between revisions

m
(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...')
 
m (2 revisions imported from wikipedia:Module:Uses_TemplateStyles/config)
 
(5 intermediate revisions by 4 users not shown)
Line 23:
-- (e.g. no stylesheet listed). A category name without namespace, or nil
-- to disable categorization (not recommended).
cfg['error_category'] = 'Uses TemplateStyles templates with errors'nil
 
-- Default category: this category is added if no custom category is specified
Line 33:
-- of any stylesheet differs from the one of the template. A category name
-- without namespace, or nil to disable categorization (not recommended).
cfg['protection_conflict_category'] = 'Templates using TemplateStyles with a different protection level'nil
 
-- Padlock pattern: Lua pattern to search on protected stylesheets for, or nil
-- to disable padlock check.
cfg['padlock_pattern'] = '{{pp-'nil
 
-- Missing padlock category: this category is added if a protected stylesheet
Line 43:
-- A category name without namespace (no nil allowed) if the pattern is not nil,
-- unused (and thus may be nil) otherwise.
cfg['missing_padlock_category'] = 'Templates using TemplateStyles without padlocks'nil
 
return cfg -- Don’t touch this line.