Merge "Log the DiscussionTools a/b test bucket for relevant schemas"

This commit is contained in:
jenkins-bot 2021-02-01 17:08:43 +00:00 committed by Gerrit Code Review
commit de4c11270c

View file

@ -194,6 +194,10 @@
timing[ action ] = timeStamp;
}
if ( mw.user.options.get( 'discussiontools-abtest' ) ) {
event.bucket = mw.user.options.get( 'discussiontools-abtest' );
}
if ( trackdebug ) {
log( topic, duration + 'ms', event );
} else {
@ -249,6 +253,10 @@
};
/* eslint-enable camelcase */
if ( mw.user.options.get( 'discussiontools-abtest' ) ) {
event.bucket = mw.user.options.get( 'discussiontools-abtest' );
}
if ( trackdebug ) {
log( topic, event );
} else {