Module:Protection banner: Difference between revisions

Jump to navigation Jump to search
m
fix cfg field name
(make Protection:needsExpiry even more complicated to allow for trinary logic in cfg.expiryCheckActions)
m (fix cfg field name)
Line 301:
function Protection:needsExpiry()
local cfg = self._cfg
local actionNeedsCheck = cfg.expirycheckactionsexpiryCheckActions[self.action]
return not self.expiry and (
actionNeedsCheck or (
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu