From 801bdf445087404065134079a26f39686f7c71ba Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 14 Sep 2022 13:54:43 -0700 Subject: [PATCH] wiki: up cookie lifetime to 10hours Right now by default users are logged out after 1 hour of inactivity on the wiki. This is anoying for people who do a number of edits during the day. So, lets increase this timeout to 10 hours. Signed-off-by: Kevin Fenzi --- roles/mediawiki/templates/LocalSettings.php.fp.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/mediawiki/templates/LocalSettings.php.fp.j2 b/roles/mediawiki/templates/LocalSettings.php.fp.j2 index d44b8e673c..f51946b914 100644 --- a/roles/mediawiki/templates/LocalSettings.php.fp.j2 +++ b/roles/mediawiki/templates/LocalSettings.php.fp.j2 @@ -654,3 +654,7 @@ $wgPasswordAttemptThrottle = false; # Looks like mediawiki is using undefined constants.... Let's shut that up error_reporting(E_ALL ^ E_NOTICE); + +# Set this to 10 hours (up from default 1 hour) to let people stay logged in +# during their work day. +$wgObjectCacheSessionExpiry = 36000