mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 23:05:35 +00:00
Merge "ve.init.mw.trackSubscriber: Populate platform field with hack"
This commit is contained in:
commit
fbb0d1ddd2
|
@ -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' ),
|
||||
|
|
Loading…
Reference in a new issue