Page MenuHomePhabricator

Add `mediawiki_skin` and `mediawiki_database` as contextual attributes in web/base stream
Closed, ResolvedPublic

Description

As per the instrumentation spec for the Donate Button A/B Test, the Web Team requires two contextual attributes that are not currently included in the web/base stream.

Initially, they wanted to use a different stream (reader_donate_entry_point_experiments) but we don't currently support that -- all of our experiments run on a single stream.

Given that we need to focus on SDS2.4, we are looking to add the specific contextual attributes to the base stream _temporarily_, to enable the team to make a decision.

Out of Scope/Future Work:

  • Should we learn that teams need to specify specifics streams for specific experiments, we may need to provide a way for them to specify that their experiment will use a different stream. One idea was to configure the experiment: this experiment is associated with this stream. Every time you talk about this experiment, they should go to this stream. See 0:28 in this recording

Acceptance Criteria:

  • Add mediawiki_skin and mediawiki_database as contextual attributes in web/base stream
  • Update documentation and unit tests

Event Timeline

JVanderhoop-WMF renamed this task from Add option to define stream in Experiment.js to Add `mediawiki_skin` and `mediawiki_database` as contextual attributes in web/base stream.May 16 2025, 7:18 PM
JVanderhoop-WMF updated the task description. (Show Details)
JVanderhoop-WMF claimed this task.

This is now duplicated by T394457