Changes
Jump to navigation
Jump to search
--[[local blacklistentry = mw.ext.TitleBlacklist.test('edit', pagename) -- Testing action edit is correct, since this is for the source page. The target page name gets tested with action move.
else]]if elseif title.namespace == 6 then
--[[local blacklistentry = mw.ext.TitleBlacklist.test(action, pagename)
else]]if elseif level then
enable titleblacklist checks
return 'templateeditor'
elseif action == 'move' then
if blacklistentry and not blacklistentry.params.autoconfirmed then
return 'accountcreator'
return 'filemover'
else
end
else
if blacklistentry then
return blacklistentry.params.autoconfirmed and 'autoconfirmed' or 'accountcreator'
return level
elseif action == 'upload' then