r105059 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105058‎ | r105059 | r105060 >
Date:04:53, 3 December 2011
Author:rsterbin
Status:ok
Tags:
Comment:
Dropped debug lines
Modified paths:
  • /trunk/extensions/ArticleFeedbackv5/modules/ext.articleFeedbackv5/ext.articleFeedbackv5.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedbackv5/modules/ext.articleFeedbackv5/ext.articleFeedbackv5.js
@@ -54,18 +54,13 @@
5555 // 3. Random bucketing
5656 var displayBucket = $aftDiv.articleFeedbackv5( 'getBucketId' );
5757 if ( '5' == displayBucket || '0' == displayBucket ) {
58 - console.log( '5 or 0');
5958 return '0';
6059 }
6160 var knownBuckets = { '0': true, '1': true, '2': true };
6261 var requested = mw.util.getParamValue( 'aft_link' );
6362 if ( $aftDiv.articleFeedbackv5( 'inDebug' ) && requested in knownBuckets ) {
64 - console.log( 'requested ' + requested );
6563 return requested;
6664 } else {
67 - console.log( 'bucketing' );
68 - console.log( mw.config.get( 'wgArticleFeedbackv5LinkBuckets' ) );
69 - console.log( mw.config.get( 'wgArticleFeedbackv5DisplayBuckets' ) );
7065 var bucketName = mw.user.bucket( 'ext.articleFeedbackv5-links',
7166 mw.config.get( 'wgArticleFeedbackv5LinkBuckets' )
7267 );

Status & tagging log