4,595
edits
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 62: | Line 62: | ||
end | end | ||
-- local blacklistentry = mw.ext.TitleBlacklist.test(action, pagename) | -- local blacklistentry = mw.ext.TitleBlacklist.test(action, pagename) | ||
-- if blacklistentry then | |||
-- if not blacklistentry.params.autoconfirmed then | |||
-- return 'templateeditor' | |||
-- elseif level == 'extendedconfirmed' then | |||
-- return 'extendedconfirmed' | |||
-- else | |||
-- return 'autoconfirmed' | |||
-- end | |||
-- elseif level == 'editsemiprotected' then -- create-semiprotected pages return this for some reason | |||
-- return 'autoconfirmed' | |||
-- elseif level then | |||
-- return level | |||
-- elseif action == 'upload' then | |||
-- 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 | |||
-- return 'user' | |||
-- else | |||
-- return '*' | |||
-- end | |||
end | end | ||