From: Niklas Laxström Date: Sat, 23 May 2009 08:42:09 +0000 (+0000) Subject: * (bug 9257) $wgRCMaxAge now defaults to three months X-Git-Tag: 1.31.0-rc.0~41681 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=d261e39d76a7d20de62aed2d97b63bbeef0cd212;p=lhc%2Fweb%2Fwiklou.git * (bug 9257) $wgRCMaxAge now defaults to three months --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index c4a4a12a01..b6d3920810 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -28,6 +28,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN to be shown to users * $wgAllowRealName was deprecated in favor of $wgHiddenPrefs[] = 'realname', but the former is still retained for backwards-compatibility +* (bug 9257) $wgRCMaxAge now defaults to three months === New features in 1.16 === diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 59c3db9994..9b3fd4bbbd 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -2150,9 +2150,9 @@ $wgPutIPinRC = true; /** * Recentchanges items are periodically purged; entries older than this many * seconds will go. - * For one week : 7 * 24 * 3600 + * Default: 13 weeks = about three monts */ -$wgRCMaxAge = 7 * 24 * 3600; +$wgRCMaxAge = 13 * 7 * 24 * 3600; /** * Filter $wgRCLinkDays by $wgRCMaxAge to avoid showing links for numbers higher than what will be stored.