mediawiki-skins-Vector/resources/skins.vector.js
Sam Smith 746315bb5b Add search widget treatment A/B test
If the VectorSearchTreatmentABTest config variable is truthy and the
user is loged in, then pick the Core treatment (defined in the
mediawiki.searchSuggest RL module) or Vector's Vue.js-based treatment of
the search widget based on their user ID. If not, then fall back to
picking the treatment based on VectorUseWvuiSearch.

Supporting changes:

* Update initSearchLoader() in skins.vector.js/searchLoader.js to check
  whether the body.skin-vector-search-vue exists

* Remove wgVectorUseWvuiSearch from the skins.vector.js RL module's config

* Update the performance-related metrics collection to check which
  module is being loaded rather that use the above

Bug: T261647
Change-Id: Idc978392f5db14f0ae2b06ade0175fe534f4ae70
2021-01-26 12:02:01 +00:00
..
searchLoader.js Add search widget treatment A/B test 2021-01-26 12:02:01 +00:00
sidebar.js Add config to disable sidebar state persistence for logged-in users. 2020-07-17 09:32:21 -07:00
skin.js Adds loading indicator for new search module 2020-09-08 13:59:41 +00:00