Module:Protection banner: Difference between revisions
Content deleted Content added
now reason |
next expiry |
||
Line 70:
local indefStrings = configObj.cfg.indefStrings
if indefStrings[args.expiry] then
self.
elseif type(args.expiry) == 'number' then
self.
else
self.
end
end
Line 240:
function Blurb:_makeDisputeBlurbParameter()
local expiry = self._protectionObj
if type(expiry) == 'number' then
return self:_getExpandedMessage('dispute-blurb-expiry')
Line 294:
function Blurb:_makeExpiryParameter()
local expiry = self._protectionObj
if expiry == 'indef' then
return nil
Line 353:
function Blurb:_makeIntroBlurbParameter()
local expiry = self._protectionObj
if type(expiry) == 'number' then
return self:_getExpandedMessage('intro-blurb-expiry')
Line 461:
function Blurb:_makeTooltipBlurbParameter()
local expiry = self._protectionObj
if type(expiry) == 'number' then
return self:_getExpandedMessage('tooltip-blurb-expiry')
Line 535:
local action = protectionObj.action
local level = protectionObj.level
local expiry = protectionObj
local namespace = titleObj.namespace
Line 709:
-- Get the expiry.
local expiry = protectionObj
if type(expiry) == 'number' then
expiry = 'temp'
Line 866:
local reasonsWithoutExpiryCheck = configObj.cfg.reasonsWithoutExpiryCheck
local expiryCheckActions = configObj.cfg.expiryCheckActions
local expiry = protectionObj
local action = protectionObj.action
local reason = protectionObj.reason
Line 890:
local protectionObj = self._protectionObj
local expiry = protectionObj
local action = protectionObj.action
local level = protectionObj.level
|