EBernhardson has uploaded a new change for review. https://gerrit.wikimedia.org/r/268026
Change subject: Add mw.user.sessionId() to TestSearchSatisfaction schema ...................................................................... Add mw.user.sessionId() to TestSearchSatisfaction schema This is used to correlate user satisfaction with responses to QuickSurvey's. Bug: T125236 Change-Id: I613b8f1bd3fbafd048c97bafff8cc6e226f4784b --- M extension.json M modules/ext.wikimediaEvents.searchSatisfaction.js 2 files changed, 5 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikimediaEvents refs/changes/26/268026/1 diff --git a/extension.json b/extension.json index 4841f5c..4ed78e7 100644 --- a/extension.json +++ b/extension.json @@ -101,7 +101,7 @@ "schema.TestSearchSatisfaction2": { "class": "ResourceLoaderSchemaModule", "schema": "TestSearchSatisfaction2", - "revision": 14098806 + "revision": 15306508 }, "schema.GeoFeatures": { "class": "ResourceLoaderSchemaModule", diff --git a/modules/ext.wikimediaEvents.searchSatisfaction.js b/modules/ext.wikimediaEvents.searchSatisfaction.js index a4b1b9f..b007f14 100644 --- a/modules/ext.wikimediaEvents.searchSatisfaction.js +++ b/modules/ext.wikimediaEvents.searchSatisfaction.js @@ -166,7 +166,10 @@ pageViewId: pageViewId, // identifies if a user has scrolled the page since the // last event - scroll: scrollTop !== lastScrollTop + scroll: scrollTop !== lastScrollTop, + // mediawiki session id for correlating QuickSurvey results + // with search satisfaction results + mwSessionId: mw.user.sessionId() }; lastScrollTop = scrollTop; if ( checkinTime !== undefined ) { -- To view, visit https://gerrit.wikimedia.org/r/268026 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I613b8f1bd3fbafd048c97bafff8cc6e226f4784b Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/WikimediaEvents Gerrit-Branch: master Gerrit-Owner: EBernhardson <ebernhard...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits