"ମଡ୍ୟୁଲ:Protection banner" ପୃଷ୍ଠାର ସଂସ୍କରଣଗୁଡ଼ିକ ମଧ୍ୟରେ ତଫାତ
Content deleted Content added
imported>Cenarium add expiry automatically for actions other than 'autoreview' using new {{PROTECTIONEXPIRY:action}} magic word implemented through Module:Effective protection expiry |
add support for upload protection, and make some formatting tweaks |
||
୭୪ କ ଧାଡ଼ି:
while true do
-- Can't use pairs() since we're adding and removing things as we're iterating
local k = next(toWalk) -- This always gets the "first" key
if k == nil then break end
toWalk[k] = nil
୯୭ କ ଧାଡ଼ି:
edit = true,
move = true,
autoreview = true,
upload = true
}
Line ୮୭୪ ⟶ ୮୭୫:
local ret = {}
-- If a page's edit protection is equally or more restrictive than its
-- protection from some other action, then don't bother displaying anything --
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)
|