Module:Contentious topics/talk notice: Difference between revisions

Content deleted Content added
protection
protection
Line 89:
protectionLevel = subjectTitleObject.protectionLevels["edit"][1]
if protectionLevel then
-- we have page protection
alwaysAddRestriction(protectionLevel)
-- so we check if ECR is active, and if so only care about full protection
if restrictionFlags["ECR"] then
if protectionLevel == "full" then alwaysAddRestriction("full") end
else
alwaysAddRestriction(protectionLevel)
end
end