Page MenuHomePhabricator

Change agent_client_platform_family context attribute values
Open, LowPublic

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

Event Timeline

JVanderhoop-WMF subscribed.

The problem is that this can be confusing to users; however, as we abstract away from attributes and instruments towards metrics, this becomes less of an issue. And we've survived since 2022 apparently ;)