Difference between revisions of "Module:Uses TemplateStyles"
Jump to navigation
Jump to search
Undo revision 4678331 by ExE Boss (talk): this is a global module; change the local config if you want to modify categories (I don’t think it’s necessary)
>Tacsipacsi (from w:Module:Uses TemplateStyles) |
>Tacsipacsi (Undo revision 4678331 by ExE Boss (talk): this is a global module; change the local config if you want to modify categories (I don’t think it’s necessary)) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 97: | Line 97: | ||
local tsProt = tsTitleObj.protectionLevels["edit"] and tsTitleObj.protectionLevels["edit"][1] or nil | local tsProt = tsTitleObj.protectionLevels["edit"] and tsTitleObj.protectionLevels["edit"][1] or nil | ||
if cfg['protection_conflict_category'] and tsProt ~= currentProt and not addedLevelCat then | if cfg['protection_conflict_category'] and tsProt ~= currentProt and not addedLevelCat then | ||
addedLevelCat = true | |||
cats[#cats + 1] = cfg['protection_conflict_category'] | cats[#cats + 1] = cfg['protection_conflict_category'] | ||
end | end |