From: Brion Vibber Date: Wed, 3 Dec 2003 15:18:38 +0000 (+0000) Subject: Raise watchlist cutoff to 12 hours for 1000+ items X-Git-Tag: 1.1.0~26 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=ed736e69d0732340d7f0bfa6b2150b524d57db5a;p=lhc%2Fweb%2Fwiklou.git Raise watchlist cutoff to 12 hours for 1000+ items --- diff --git a/includes/SpecialWatchlist.php b/includes/SpecialWatchlist.php index 7ec0fdd297..23a55af057 100644 --- a/includes/SpecialWatchlist.php +++ b/includes/SpecialWatchlist.php @@ -49,10 +49,10 @@ function wfSpecialWatchlist() } if ( ! isset( $days ) ) { - $big = 250; + $big = 1000; if($nitems > $big) { # Set default cutoff shorter - $days = (1.0 / 24.0); # 1 hour... + $days = (12.0 / 24.0); # 12 hours... } else { $days = 0; # no time cutoff for shortlisters }