Background
Mobile sections are collapsed by default, but users can configure them to expand by default in mobile settings. The A/B test will expand all mobile sections regardless of user preference.
Potential issue: Logged-out users on the Minerva mobile site can toggle this setting. If our A/B test overrides their preference, it may skew results or create a confusing user experience for those who deliberately chose collapsed sections.
Below is a screenshot of the mobile settings found on the Special:MobileOptions provided by MobileFrontend (Minerva mobile + mobile emulation):
The clientpref selectors are defined in MobileFrontend extension (ref) and added to the <html> element.
- mf-expand-sections-clientpref-0 collapses the sections by default
- mf-expand-sections-clientpref-1 expands the sections by default
Acceptance Criteria
- Determine whether the user configurations conflict with the A/B test (details)
- Document findings and next steps, including an approach to disable the user settings if needed
Communication
- Communicate the decision on the project page https://www.mediawiki.org/wiki/Readers/Reader_Growth/WE3.1.14_Sticky_Headers#Engineering_research
Notes
- Based on these findings, the user settings do not conflict with the prototypes' expanded section behavior.
- Future implementation options:
- Option 1: Do nothing
- Option 2: Disable the setting if enrolled in the experiment
- Recommendation: Do nothing
- Rationale:
- The prototype is temporary code that will be removed after the experiment concludes
- User settings don't actually affect the expanded section behavior in the prototype
- Avoids adding code to a separate repository (MobileFrontend) that we'd need to remember to remove later
- Most casual readers are unlikely to be aware of or interact with these settings
- Not worth the time investment given the temporary nature of the prototype
- Rationale:
- Discuss options in the Engineering Enclave meeting on November 18th
- Decision: Disable the user setting for enrolled users
- URL param is out of scope
- Implementation: Toggle on and disable the user setting in MobileFrontend via server-side or client-side APIs
- Consideration: Exclude users with the expand section preference enabled from being bucketed into the experiment.
- Communicate the decision on the project page.
- Follow-up T410754: StickyHeaders post-A/B test: remove code from MobileFrontend

