Content deleted Content added
Tacsipacsi (talk | contribs) ←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...' |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 31:
-- Protection conflict category: this category is added if the protection level
-- of any stylesheet
-- without namespace, or nil to disable categorization (not recommended).
cfg['protection_conflict_category'] = 'Templates using TemplateStyles with a different protection level'
-- Hierarchy of protection levels, used to determine whether one protection level is lower
-- than another and thus should populate protection_conflict_category. No protection is treated as zero
cfg['protection_hierarchy'] = {
autoconfirmed = 1,
extendedconfirmed = 2,
templateeditor = 3,
sysop = 4
}
-- Padlock pattern: Lua pattern to search on protected stylesheets for, or nil
Line 45 ⟶ 54:
cfg['missing_padlock_category'] = 'Templates using TemplateStyles without padlocks'
-- Default subpage for the stylesheet if none is given
cfg['default_subpage_name'] = 'styles.css'
return cfg -- Don’t touch this line.
|