In order to do T238138: VirtualPageView Event Platform Migration, VirtualPageView instrumentation code needs to use the EventLogging mw.eventLog.logEvent API, so that EventLogging can handle the backwards compatible conversion.
This should undo the work done for T190188: VirtualPageView schema should not use EventLogging api to send virtual page view events in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Popups/+/422261.
QA steps
- Start a new private browsing session
- Navigate to https://en.wikipedia.beta.wmflabs.org/wiki/PreviewsAppearAbove/sandbox
- Hover over one of the links until a preview appears
- Wait 1 second
- Observe that a VirtualPageView event has been logged
- VirtualPageView events are still logged to the beacon URL, i.e. /event/beacon?…
QA Results - Beta
AC | Status | Details |
---|---|---|
1 | ✅ | T279382#7053764 |
QA Results - Prod
AC | Status | Details |
---|---|---|
1 | ✅ | T279382#7071181 |