Index: branches/wmf/1.17wmf1/extensions/ClickTracking/ClickTracking.hooks.php |
— | — | @@ -166,7 +166,7 @@ |
167 | 167 | |
168 | 168 | //NOTE: $wgRequest->response setCookie sets it with a prefix and httponly by default |
169 | 169 | setcookie( 'userbuckets' , $packedBuckets , |
170 | | - time() + 60 * 60 * 24 * 365 ); //expire in 1 year |
| 170 | + time() + 60 * 60 * 24 * 90 ); //expires in 90 days |
171 | 171 | } |
172 | 172 | |
173 | 173 | /** |
Index: branches/wmf/1.17wmf1/extensions/ClickTracking/modules/ext.UserBuckets.js |
— | — | @@ -42,7 +42,7 @@ |
43 | 43 | var bucketCookies = $.getBuckets(); |
44 | 44 | if(!bucketCookies) { bucketCookies ={};} |
45 | 45 | bucketCookies[ bucketName ] = [ bucketValue, bucketVersion ]; |
46 | | - $j.cookie('userbuckets', JSON.stringify( bucketCookies ) , { expires: 365 }); //expires in 1 year |
| 46 | + $j.cookie('userbuckets', JSON.stringify( bucketCookies ) , { expires: 90 }); //expires in 90 days |
47 | 47 | bucketCookies = $.getBuckets(true); //force it to rerun and update |
48 | 48 | }; |
49 | 49 | |