This task represents Prep #2 of RFC: Mobile domain sunsetting, and is a blocker to WE6.4.4 (FY25-26 Q1), as tracked by the parent task T214998: RFC: Serve mobile and desktop variants through the same URL (unified mobile routing).
The clientError instrument in the WikimediaEvents extension currently logs a skin. This might suffice if the current Logstash filter is mainly aiming to identify issues with Minerva's JavaScript payloads. The errors have stack traces to verify which code base it comes from (e.g. Minerva, RelatedArticles, MobileFrontend, etc) and my understanding from Jon is that long-term we hope to phase out MobileFrontend, at which point there would no longer be a single boolean distinction between code for mobile and everything else. Some of the features may still exist of course, but they'd be like any other feature and would need to be filtered by stack trace, wiki, load.php URL, and/or user-agent; as other teams do today already.
Having said that, if an isMobile field is desired in the interim, we can add it now. The rollout is still a few weeks away.
Scope
- Determine what events the team regularly splits by mobile/non-mobile domain today.
- Document in this task what the team needs from those events, and how we can accomplish that without a mobile domain.
- Make changes in event instrumentation and/or in Logstash (if needed).
