Module:Effective protection level: Difference between revisions
fix semi-create-protected pages
(must be subpage too) |
(fix semi-create-protected pages) |
||
Line 50: | Line 50: | ||
if blacklistentry then | if blacklistentry then | ||
return blacklistentry.params.autoconfirmed and 'autoconfirmed' or 'accountcreator' | return blacklistentry.params.autoconfirmed and 'autoconfirmed' or 'accountcreator' | ||
elseif level == 'editsemiprotected' then -- create-semiprotected pages return this for some reason | |||
return 'autoconfirmed' | |||
elseif level then | elseif level then | ||
return level | return level |