r86588 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86587‎ | r86588 | r86589 >
Date:00:52, 21 April 2011
Author:tparscal
Status:ok
Tags:
Comment:
Fixed missing 'track' comparison when checking the tracking bucket.
Modified paths:
  • /trunk/extensions/ArticleFeedback/modules/jquery.articleFeedback/jquery.articleFeedback.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedback/modules/jquery.articleFeedback/jquery.articleFeedback.js
@@ -5,7 +5,7 @@
66 ( function( $, mw ) {
77
88 // Only track users who have been assigned to the tracking group
9 -var tracked = mw.user.bucket(
 9+var tracked = 'track' === mw.user.bucket(
1010 'ext.articleFeedback-tracking', mw.config.get( 'wgArticleFeedbackTracking' )
1111 );
1212

Status & tagging log