Jump to content

Manual:$wgWatchlistExpiryMaxDuration

From mediawiki.org
Recent changes, new pages, watchlist and history: $wgWatchlistExpiryMaxDuration
Relative maximum duration for watchlist expiries, as accepted by strtotime().
Introduced in version:1.35.0 (Gerrit change 591203; git #0694cc02)
Removed in version:Still in use
Allowed values:(string) or null
Default value:'1 year' (1.40+)
'6 months' (1.35-1.39)

Details

[edit]

Relative maximum duration for watchlist expiries, as accepted by PHP's strtotime() function. 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 watchlist_expiry table doesn't grow to be too big.

Only has effect if $wgWatchlistExpiry is true.

Set to null to allow expiries of any duration.

See also

[edit]