Index: trunk/phase3/resources/mediawiki/mediawiki.js |
— | — | @@ -446,9 +446,9 @@ |
447 | 447 | // Bucket information is stored as 2 integers, together as version:bucket like: "1:2" |
448 | 448 | if ( typeof cookie === 'string' && cookie.length > 2 && cookie.indexOf( ':' ) > 0 ) { |
449 | 449 | var parts = cookie.split( ':' ); |
450 | | - if ( parts.length > 1 && parts[1] == options.version ) { |
| 450 | + if ( parts.length > 1 && parts[0] == options.version ) { |
451 | 451 | version = Number( parts[0] ); |
452 | | - bucket = Number( parts[1] ); |
| 452 | + bucket = String( parts[1] ); |
453 | 453 | } |
454 | 454 | } |
455 | 455 | if ( bucket === null ) { |