Zum Inhalt springen

Modul:Uses TemplateStyles: Unterschied zwischen den Versionen

Noprotcat parameter to suppress protection category
Keine Bearbeitungszusammenfassung
(Noprotcat parameter to suppress protection category)
Zeile 82: Zeile 82:
end
end
cats[#cats + 1] = category
cats[#cats + 1] = category
if yeso(args.noprotcat) then
return
end
local currentProt = titleObj.protectionLevels["edit"] and titleObj.protectionLevels["edit"][1] or nil
local currentProt = titleObj.protectionLevels["edit"] and titleObj.protectionLevels["edit"][1] or nil
for i, ts in ipairs(tStyles) do
for i, ts in ipairs(tStyles) do
Anonymer Benutzer