Page MenuHomePhabricator

Reduce mw.eventLog API
Open, Needs TriagePublic3 Estimated Story Points

Description

Background

@apaskulin unearthed the following TODO while reviewing the Metrics Platform documentation in T372682: De-duplicate Metrics Platform API docs:

JavaScript:

  • Currently, a number of other methods are attached to the core object and thereby exported via mw.eventLog. These include streamInSample(), and all methods under mw.eventLog.id and mw.eventLog.storage. These should not be invoked by external callers and will be removed from the de facto public interface in a future refactor.

AC

Notes

  1. All uses of mw.eventLog.id.getSessionId() have now been removed – Experiment Platform decommissioned the Wikistories instrumentation and the performer_active_browsing_session_token contextual attribute

Event Timeline

phuedx renamed this task from [GOAL] Tidy up mw.eventLog API to Reduce mw.eventLog API.Sep 12 2025, 12:01 PM
phuedx triaged this task as Medium priority.
phuedx lowered the priority of this task from Medium to Low.
phuedx updated the task description. (Show Details)
phuedx moved this task from Incoming to READY TO GROOM on the Test Kitchen board.
Sfaci raised the priority of this task from Low to Needs Triage.Nov 4 2025, 9:01 AM
Sfaci moved this task from READY TO GROOM to Tidy up EventLogging on the Test Kitchen board.

Change #1322703 had a related patch set uploaded (by Phuedx; author: Phuedx):

[mediawiki/extensions/EventLogging@master] ext.eventLogging: Remove mw.eventLog.id and .storage

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

Change #1322704 had a related patch set uploaded (by Phuedx; author: Phuedx):

[mediawiki/extensions/WikimediaEvents@master] ext.wikimediaEvents: sessionTick: Remove mw.eventLog.id.getSessionId() reference

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