Implement platform-dependent surveys

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.


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.

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

Bug: T119367
Change-Id: Icc895ec7e48fd97a5d0a7f5dfd2950c88dfdee32