Manual:$wgWatchlistExpiryMaxDuration/en

Details
Relative maximum duration for watchlist expiries, as accepted by strtotime. This relates to finite watchlist expiries only. Pages can be watched indefinitely regardless of what this is set to.

This is used to ensure the $1 table doesn't grow to be too big.

Only has effect if $wgWatchlistExpiry is true.

Set to null to allow expiries of any duration.