Changes
Jump to navigation
Jump to search
Line 23:
Line 23:
− +
Line 33:
Line 33:
− +
− +
Line 43:
Line 43:
− +
Category:Templates using TemplateStyles *does* exist
-- (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'] = 'Uses TemplateStyles templates with errors'
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
-- 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'] = 'Templates using TemplateStyles with a different protection level'
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
-- to disable padlock check.
-- to disable padlock check.
cfg['padlock_pattern'] = '{{pp-'
cfg['padlock_pattern'] = nil
-- Missing padlock category: this category is added if a protected stylesheet
-- Missing padlock category: this category is added if a protected stylesheet
-- 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'] = 'Templates using TemplateStyles without padlocks'
cfg['missing_padlock_category'] = nil
return cfg -- Don’t touch this line.
return cfg -- Don’t touch this line.