Module:Effective protection level: Difference between revisions

From Test Wiki
Per WP:ACPERM, you need to be autoconfirmed to create pages in mainspace
m (1 revision imported from metawikimedia:Module:Effective_protection_level: Importing Template:Sockpuppet from the Meta Wiki Wikimedia project wiki)
Wikipedia >Pppery
(Per WP:ACPERM, you need to be autoconfirmed to create pages in mainspace)
Line 77: Line 77:
return 'autoconfirmed'
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
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'
return 'user'
else
else
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.