mediawiki-skins-Vector/includes
Clare Ming 457dcfc472 Add scroll event + init A/B test logging to sticky header, AB js
- Pull IntersectionObserver into new file to share observer with different callbacks:
  - Wrap show/hide functionality of sticky header in conditionals based on user test group or by default.
  - Fire hooks for scroll event tracking in WME.
- Add new js for A/B test functions and variables:
  - Fire hook to send data for A/B test initialization.
- Update main js to include scrollObserver, A/B test init functionality.
- Add A/B test config.
- Update ResourceLoader package dependencies for sticky header.
- Though not a strict dependency, see I42e3e7c2084c1e88363d5d1662630ed23a28c4d2 in WME repo which uses these hooks to log scroll events.
- This patch includes changes from I56f40e706f8706fde1c0891a0561dd32c5e02bfc which were consolidated here for simplicity and ease of review - related to T292587 which calls for logging an init event for bucketing of users during A/B testing.

Bug: T292586
Change-Id: If6446e1e84cea3649905808c4f0e9f6862255fa3
2021-11-09 15:00:25 -07:00
..
FeatureManagement build: Updating dependencies 2021-07-24 01:35:45 +00:00
HTMLForm/Fields build: Updating mediawiki/mediawiki-codesniffer to 33.0.0 2020-11-17 23:33:50 +01:00
Services search: Disable query highlight for some languages 2021-06-30 16:47:46 +01:00
templates Remove duplicate vector-menu-dropdown class 2021-10-25 09:55:42 -06:00
Constants.php Add scroll event + init A/B test logging to sticky header, AB js 2021-11-09 15:00:25 -07:00
Hooks.php Add scroll event + init A/B test logging to sticky header, AB js 2021-11-09 15:00:25 -07:00
ServiceWiring.php Add sticky header edit feature flag 2021-10-26 21:59:29 +00:00
SkinVector.php Add sticky header edit feature flag 2021-10-26 21:59:29 +00:00
SkinVersionLookup.php Use User->isRegistered(), not deprecated isLoggedIn() 2020-12-19 16:44:06 +00:00
VectorServices.php search: Disable query highlight for some languages 2021-06-30 16:47:46 +01:00