Changes
Jump to navigation
Jump to search
m
elseif key == 'pc' then
level = mProtectionLevel.pending(title)
reflect changes to Module:Effective protection level
['move-sysop-template-all-all'] = 'Wikipedia move-protected templates',
['move-sysop-user-all-all'] = 'Wikipedia move-protected user and user talk pages',
['pcautoreview-autoconfirmed-all-all-all'] = 'Wikipedia pending changes protected pages (level 1)', ['pcautoreview-reviewer-all-all-all'] = 'Wikipedia pending changes protected pages (level 2)',
}
-- Initialise necessary modules.
local mArguments = require('Module:Arguments')
local mProtectionLevel = require('Module:Effective protection level')._main
local mMessageBox -- only needs to be loaded if we are outputting a banner, so lazily initialise
create = true,
edit = true,
move = true, autoreview = true
}
setmetatable(protectionData, {
local level
if actions[key] then
level = mProtectionLevel.main(key, title)
if level == 'accountcreator' then
-- Lump titleblacklisted pages in with template-protected pages,
level = 'templateeditor'
end
end
protectionData[key] = level