Module:Effective protection level: Difference between revisions

m
m (1 revision imported from wikipedia:Module:Effective_protection_level: ADDING TEMPLATES. AGAIN)
m (1 revision imported from wikipedia:Module:Effective_protection_level)
 
(2 intermediate revisions by 2 users not shown)
Line 77:
return 'autoconfirmed'
elseif action == 'create' and title.namespace % 2 == 0 and title.namespace ~= 118 then -- You need to be registered, but not autoconfirmed, to create non-talk pages other than drafts
if title.namespace == 0 then
return 'autoconfirmed' -- Per [[WP:ACPERM]], you need to be autoconfirmed to create pages in mainspace
end
return 'user'
else