function Protection:needsExpiry()
local cfg = self._cfg
return not self.expiry and local actionNeedsCheck = cfg.expiryCheckActionsexpirycheckactions[self.action] return not self.expiry and ( actionNeedsCheck or ( actionNeedsCheck == nil and self.reason -- the old {{pp-protected}} didn't check for expiry and not cfg.reasonsWithoutExpiryCheck[self.reason] ) )
end