Module:Effective protection level: Difference between revisions
Jump to navigation
Jump to search
Module:Effective protection level (view source)
Revision as of 16:44, 15 January 2024
, 15 January 2024Per WP:ACPERM, you need to be autoconfirmed to create pages in mainspace
>Tomoneill (copy from https://en.wikipedia.org/w/index.php?title=Module:Effective_protection_level&oldid=980896975) |
>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 | ||
Line 90: | Line 93: | ||
return p | return p | ||