Module:Contentious topics/talk notice: Difference between revisions

Content deleted Content added
add
simplify
Line 86:
 
-- Check whether any of the added restrictions are actually defined
local underRestrictions = false#restrictions > 0
for _, r in ipairs(restrictions) do
if restrictionsDefinition[r] then
underRestrictions = true
break
end
end
 
local articleOrPage = currentTitleObject:inNamespaces(1) and "article" or "page"