Index: trunk/phase3/resources/mediawiki/mediawiki.js |
— | — | @@ -440,7 +440,7 @@ |
441 | 441 | 'tracked': false, |
442 | 442 | 'expires': 30 |
443 | 443 | }, options || {} ); |
444 | | - var cookie = $.cookie( 'mw.user.bucket:' + key ); |
| 444 | + var cookie = $.cookie( 'mediaWiki.user.bucket:' + key ); |
445 | 445 | var bucket = null; |
446 | 446 | var version = 0; |
447 | 447 | // Bucket information is stored as 2 integers, together as version:bucket like: "1:2" |
— | — | @@ -474,11 +474,13 @@ |
475 | 475 | } |
476 | 476 | if ( options.tracked ) { |
477 | 477 | mw.loader.using( 'jquery.clickTracking', function() { |
478 | | - $.trackAction( 'mw.user.bucket:' + key + '@' + version + ':' + bucket ); |
| 478 | + $.trackAction( |
| 479 | + 'mediaWiki.user.bucket:' + key + '@' + version + ':' + bucket |
| 480 | + ); |
479 | 481 | } ); |
480 | 482 | } |
481 | 483 | $.cookie( |
482 | | - 'mw.user.bucket:' + key, |
| 484 | + 'mediaWiki.user.bucket:' + key, |
483 | 485 | version + ':' + bucket, |
484 | 486 | { 'path': '/', 'expires': Number( options.expires ) } |
485 | 487 | ); |