Content deleted Content added
add upload as a supported action |
temporary revert while I fix the test cases |
||
Line 13:
-- Set constants.
local CONFIG_MODULE = 'Module:Protection banner/config
--------------------------------------------------------------------------------
Line 74:
while true do
-- Can't use pairs() since we're adding and removing things as we're iterating
local k = next(toWalk)
if k == nil then break end
toWalk[k] = nil
Line 97:
edit = true,
move = true,
autoreview = true
}
Line 875 ⟶ 874:
local ret = {}
-- If a page's edit protection is equally or more restrictive than its protection from some other action,
--
if protectionObj.action == 'edit' or args.demolevel or not walkHierarchy(cfg.hierarchy, protectionObj.level)[effectiveProtectionLevel('edit', protectionObj.title)] then
-- Initialise the blurb object
local blurbObj = Blurb.new(protectionObj, args, cfg)
|