From: Max Semenik Date: Sat, 13 Aug 2011 21:13:14 +0000 (+0000) Subject: Bumped $wgCookieExpiration to 180 days, we were one of the sites with shortest cookie... X-Git-Tag: 1.31.0-rc.0~28284 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=7d7ebfc93a3721eba51c647ae705bdeab9307cb1;p=lhc%2Fweb%2Fwiklou.git Bumped $wgCookieExpiration to 180 days, we were one of the sites with shortest cookie lifetime for too long. This was discussed at lengths about a year ago on wikitech-l, however nobody cared to implement the suggested alternative solutions. Probably because they were overcomplicated and solved only parts of the problem. --- diff --git a/RELEASE-NOTES-1.19 b/RELEASE-NOTES-1.19 index 158f2a36a4..054d2058fe 100644 --- a/RELEASE-NOTES-1.19 +++ b/RELEASE-NOTES-1.19 @@ -13,6 +13,7 @@ production. === Configuration changes in 1.19 === * Removed SkinTemplateSetupPageCss hook; use BeforePageDisplay instead. * (bug 27132) movefile right granted by default to registered users. +* Default cookie lifetime ($wgCookieExpiration) is increased to 180 days. === New features in 1.19 === * (bug 19838) Possibility to get all interwiki prefixes if the interwiki diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index b05856d86a..9d89cb32b9 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -3787,7 +3787,7 @@ $wgProxyKey = false; /** * Default cookie expiration time. Setting to 0 makes all cookies session-only. */ -$wgCookieExpiration = 30*86400; +$wgCookieExpiration = 180*86400; /** * Set to set an explicit domain on the login cookies eg, "justthis.domain.org"