From 7d7ebfc93a3721eba51c647ae705bdeab9307cb1 Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Sat, 13 Aug 2011 21:13:14 +0000 Subject: [PATCH] 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. --- RELEASE-NOTES-1.19 | 1 + includes/DefaultSettings.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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" -- 2.20.1