Modul:Uses TemplateStyles: Unterschied zwischen den Versionen

keine Bearbeitungszusammenfassung
(i18n using Module:TNT and a /config subpage, so that folks copying it to other wikis have better chances to get it translated)
Keine Bearbeitungszusammenfassung
Zeile 97: Zeile 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
Anonymer Benutzer