Page MenuHomePhabricator

Change agent_client_platform_family context attribute values
Open, Needs TriagePublic

Description

During the review of https://gerrit.wikimedia.org/r/c/mediawiki/extensions/VisualEditor/+/803889, it was noted that the "desktop_browser" and "mobile_browser" values for the agent_client_platform_family continue a problem with the EditAttemptStep instrumentation – the values are proxies for "Is the user interacting with the desktop or mobile version of the site?"

Questions

  1. Should we update the values of the agent_client_platform_family context attribute to "desktop_site" and "mobile_site", say?
  2. Alternatively, should we add a new contextual attribute, mediawiki_is_mobile_frontend_active or mediawiki_is_mobile_site, say?

TODO