Content deleted Content added
choose a function name at the top, like the other modules we are loading |
m sync |
||
Line 4:
-- Initialise necessary modules.
require('Module:No globals')
local makeFileLink = require('Module:File link
local effectiveProtectionLevel = require('Module:Effective protection level')._main
local yesno = require('Module:Yesno')
Line 127:
-- Set level
obj.level = args.demolevel or effectiveProtectionLevel(obj.action, obj.title)
if not obj.level or (obj.action == 'move' and obj.level == '
-- Users need to be autoconfirmed to move pages anyway, so treat
-- semi-move-protected pages as unprotected.
|