mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 11:16:51 +00:00
Don't log VEFeatureUse from DiscussionTools
Change-Id: Ie02381e1e65175871c5b43c8089688f632a5066c
This commit is contained in:
parent
687cdc84e8
commit
92f4e5432e
|
@ -224,8 +224,15 @@
|
|||
return;
|
||||
}
|
||||
|
||||
if ( ve.init.target && ve.init.target.constructor.static.platformType === 'phone' ) {
|
||||
// handled in MobileFrontend for session-identification reasons
|
||||
if ( ve.init.target && (
|
||||
ve.init.target.constructor.static.platformType !== 'desktop'
|
||||
) ) {
|
||||
// We want to log activity events when we're also logging to
|
||||
// EditAttemptStep. The EAS events are only fired from DesktopArticleTarget
|
||||
// in this repo. As such, we suppress this unless the current target is at
|
||||
// least inheriting that. (Other tools may fire their own instances of
|
||||
// those events, but probably need to reimplement this anyway for
|
||||
// session-identification reasons.)
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue