Merge "ve.init.mw.trackSubscriber: Populate platform field with hack"

This commit is contained in:
jenkins-bot 2014-11-26 01:25:58 +00:00 committed by Gerrit Code Review
commit fbb0d1ddd2

View file

@ -69,7 +69,7 @@
version: 1,
action: action,
editor: 'visualeditor',
platform: 'desktop', // FIXME
platform: ve.init.target.static.name === 'mobile' ? 'tablet' : 'desktop', // HACK
integration: ve.init.target && ve.init.target.constructor.static.integrationType || 'page',
'page.id': mw.config.get( 'wgArticleId' ),
'page.title': mw.config.get( 'wgPageName' ),