Catrope has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/172431

Change subject: Followup d4c133b: also make TargetEvents depend on ve.track()
......................................................................

Followup d4c133b: also make TargetEvents depend on ve.track()

On mobile, TargetEvents can be loaded without
ViewPageTarget.init, and in that case ve.track()
will be undefined.

Bug: 73038
Change-Id: I0b6bfb8b0fbdbfca57d48775b3634d70ca658f98
---
M VisualEditor.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor 
refs/changes/31/172431/1

diff --git a/VisualEditor.php b/VisualEditor.php
index dd0d014..d7aef04 100644
--- a/VisualEditor.php
+++ b/VisualEditor.php
@@ -312,6 +312,7 @@
                        'user.options',
                        'user.tokens',
                        'ext.visualEditor.base',
+                       'ext.visualEditor.track',
                ),
                'targets' => array( 'desktop', 'mobile' ),
        ),

-- 
To view, visit https://gerrit.wikimedia.org/r/172431
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0b6bfb8b0fbdbfca57d48775b3634d70ca658f98
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Catrope <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to