Module:Contentious topics/talk notice: Difference between revisions

Content deleted Content added
fix bug
back to simple
Line 89:
 
-- Check whether any of the added restrictions are actually defined, and are real restrictions
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"