diff --git a/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.init.js b/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.init.js index 8d6461538f..844dba242c 100644 --- a/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.init.js +++ b/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.init.js @@ -36,6 +36,13 @@ var target = new ve.init.mw.ViewPageTarget(); ve.init.mw.targets.push( target ); + // Tee tracked events to MediaWiki firehose, if available (1.23+). + if ( mw.track ) { + ve.trackSubscribeAll( function ( topic, data ) { + mw.track.call( null, 've.' + topic, data ); + } ); + } + // Transfer methods ve.init.mw.ViewPageTarget.prototype.setupSectionEditLinks = init.setupSectionLinks;