Editing Module:Protection banner
From Guild of Archivists
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 6: | Line 6: | ||
local makeFileLink = require('Module:File link')._main | local makeFileLink = require('Module:File link')._main | ||
local effectiveProtectionLevel = require('Module:Effective protection level')._main | local effectiveProtectionLevel = require('Module:Effective protection level')._main | ||
local yesno = require('Module:Yesno') | local yesno = require('Module:Yesno') | ||
Line 135: | Line 134: | ||
-- Set expiry | -- Set expiry | ||
if args.expiry then | |||
if | |||
if cfg.indefStrings[args.expiry] then | if cfg.indefStrings[args.expiry] then | ||
obj.expiry = 'indef' | obj.expiry = 'indef' |