jenkins-bot has submitted this change and it was merged.

Change subject: uw.EventFlowLogger: Unbreak UploadWizardTutorialActions
......................................................................


uw.EventFlowLogger: Unbreak UploadWizardTutorialActions

Fixed console warnings:

  [UploadWizardTutorialActions] Undeclared property "flowPosition"
  [UploadWizardTutorialActions] Undeclared property "flowId"

The schema indeed doesn't have these properties
<https://meta.wikimedia.org/wiki/Schema:UploadWizardTutorialActions>,
unlike all other UploadWizard EventLogging schemas, e.g.
<https://meta.wikimedia.org/wiki/Schema:UploadWizardExceptionFlowEvent>.

Follow-up to 3beb82c1cae275e70d4a93bbcdc2945c352df5af.

Change-Id: I020f89a9ce644d857fad6a910b879dbe9730d826
---
M resources/uw.EventFlowLogger.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  MarkTraceur: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/resources/uw.EventFlowLogger.js b/resources/uw.EventFlowLogger.js
index 0d48a84..948eb08 100644
--- a/resources/uw.EventFlowLogger.js
+++ b/resources/uw.EventFlowLogger.js
@@ -127,7 +127,7 @@
                }
 
                payload.action = type;
-               this.log( 'UploadWizardTutorialActions', payload );
+               mw.track( 'event.UploadWizardTutorialActions', payload );
        };
 
        /**

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I020f89a9ce644d857fad6a910b879dbe9730d826
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/UploadWizard
Gerrit-Branch: master
Gerrit-Owner: Bartosz DziewoƄski <[email protected]>
Gerrit-Reviewer: MarkTraceur <[email protected]>
Gerrit-Reviewer: Matthias Mullie <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to