mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +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,
|
version: 1,
|
||||||
action: action,
|
action: action,
|
||||||
editor: 'visualeditor',
|
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',
|
integration: ve.init.target && ve.init.target.constructor.static.integrationType || 'page',
|
||||||
'page.id': mw.config.get( 'wgArticleId' ),
|
'page.id': mw.config.get( 'wgArticleId' ),
|
||||||
'page.title': mw.config.get( 'wgPageName' ),
|
'page.title': mw.config.get( 'wgPageName' ),
|
||||||
|
|
Loading…
Reference in a new issue