Index: trunk/extensions/ArticleFeedbackv5/modules/ext.articleFeedbackv5/ext.articleFeedbackv5.js |
— | — | @@ -54,18 +54,13 @@ |
55 | 55 | // 3. Random bucketing |
56 | 56 | var displayBucket = $aftDiv.articleFeedbackv5( 'getBucketId' ); |
57 | 57 | if ( '5' == displayBucket || '0' == displayBucket ) { |
58 | | - console.log( '5 or 0'); |
59 | 58 | return '0'; |
60 | 59 | } |
61 | 60 | var knownBuckets = { '0': true, '1': true, '2': true }; |
62 | 61 | var requested = mw.util.getParamValue( 'aft_link' ); |
63 | 62 | if ( $aftDiv.articleFeedbackv5( 'inDebug' ) && requested in knownBuckets ) { |
64 | | - console.log( 'requested ' + requested ); |
65 | 63 | return requested; |
66 | 64 | } else { |
67 | | - console.log( 'bucketing' ); |
68 | | - console.log( mw.config.get( 'wgArticleFeedbackv5LinkBuckets' ) ); |
69 | | - console.log( mw.config.get( 'wgArticleFeedbackv5DisplayBuckets' ) ); |
70 | 65 | var bucketName = mw.user.bucket( 'ext.articleFeedbackv5-links', |
71 | 66 | mw.config.get( 'wgArticleFeedbackv5LinkBuckets' ) |
72 | 67 | ); |