HomePhabricator

Implement platform-dependent surveys
62de7934f144Unpublished

Authored by jhobs on Dec 28 2015, 6:40 PM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Implement platform-dependent surveys

Our current configuration defines the allowed platforms for a survey,
but nowhere do we actually limit the platforms according to the
configuration. This patch uses the skin and wgMFMode to determine the
user's current platform and hide surveys appropriately.
Changes:

  • Surveys only show up for bucketed users on the correct platform
  • URL query override also overrides platform

Bug: T119367
Change-Id: Icc895ec7e48fd97a5d0a7f5dfd2950c88dfdee32

Details