r102273 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102272‎ | r102273 | r102274 >
Date:08:58, 7 November 2011
Author:kaldari
Status:ok
Tags:fundraising 
Comment:
changing default cookie expiration to 2 weeks per James and Megan
Modified paths:
  • /trunk/extensions/CentralNotice/special/SpecialBannerController.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/special/SpecialBannerController.php
@@ -191,7 +191,7 @@
192192 }
193193 function setBannerHidingCookie( bannerType ) {
194194 var e = new Date();
195 - e.setTime( e.getTime() + (7*24*60*60*1000) ); // one week
 195+ e.setTime( e.getTime() + (14*24*60*60*1000) ); // two weeks
196196 var work='centralnotice_'+bannerType+'=hide; expires=' + e.toGMTString() + '; path=/';
197197 document.cookie = work;
198198 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r102477MFT r99497, r100014, r100015, r100085, 100087, r100780, r102204, r102273awjrichards01:42, 9 November 2011

Status & tagging log