Module:Effective protection level: Difference between revisions
From WikiOasis Meta
More actions
m 1 revision imported from metawikimedia:Module:Effective_protection_level: Required for local usage |
m 13 revisions imported |
||
| (14 intermediate revisions by 10 users not shown) | |||
| 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 | ||