r94430 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94429‎ | r94430 | r94431 >
Date:21:13, 13 August 2011
Author:maxsem
Status:ok
Tags:
Comment:
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.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES-1.19 (modified) (history)
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)

Diff [purge]

Index: trunk/phase3/RELEASE-NOTES-1.19
@@ -13,6 +13,7 @@
1414 === Configuration changes in 1.19 ===
1515 * Removed SkinTemplateSetupPageCss hook; use BeforePageDisplay instead.
1616 * (bug 27132) movefile right granted by default to registered users.
 17+* Default cookie lifetime ($wgCookieExpiration) is increased to 180 days.
1718
1819 === New features in 1.19 ===
1920 * (bug 19838) Possibility to get all interwiki prefixes if the interwiki
Index: trunk/phase3/includes/DefaultSettings.php
@@ -3787,7 +3787,7 @@
37883788 /**
37893789 * Default cookie expiration time. Setting to 0 makes all cookies session-only.
37903790 */
3791 -$wgCookieExpiration = 30*86400;
 3791+$wgCookieExpiration = 180*86400;
37923792
37933793 /**
37943794 * Set to set an explicit domain on the login cookies eg, "justthis.domain.org"

Status & tagging log