Mwalker has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/98723


Change subject: Changing banner expiration to 10 months
......................................................................

Changing banner expiration to 10 months

Change-Id: I9e2f2492324f4b003c7ae592f6ed10dee8c37cba
---
M wmf-config/CommonSettings.php
M wmf-config/InitialiseSettings.php
2 files changed, 9 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/23/98723/1

diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 9841dfc..0d78eba 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -1434,6 +1434,15 @@
 
        // Bug 49905
        $wgNoticeUseLanguageConversion = true;
+       
+       // *** Hide Cookies ***
+       // A little bit of historical breadcrumbs:
+       // In 2012 we expired cookies on 2012-12-26, then everyone had
+       // a two week expiration until 2013-01-22 whereupon we introduced
+       // a year long expiration. For the 2013 fundraiser starting
+       // 2013-12-02 we're now using a 10 month expiration.
+       $wgNoticeCookieShortExpiry = 1209600; // 2 weeks
+       $wgNoticeCookieLongExpiry = 25920000; // 10 months
 }
 
 // Set CentralNotice banner hide cookie; Needs to be enabled for all wikis 
that display banners ~awjr 2011-11-07
diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 31b7b5c..cc22d72 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -3955,10 +3955,6 @@
        'metawiki' => true,
 ),
 
-'wmgSetNoticeHideBannersExpiration' => array(
-       'default' => true,
-),
-
 // For CentralNotice project pickers
 'wmgNoticeProject' => array(
        'advisorywiki' => 'wikimedia',

-- 
To view, visit https://gerrit.wikimedia.org/r/98723
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9e2f2492324f4b003c7ae592f6ed10dee8c37cba
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Mwalker <mwal...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to