mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Merge "Log the DiscussionTools a/b test bucket for relevant schemas"
This commit is contained in:
commit
de4c11270c
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue