mediawiki-skins-Vector/resources/skins.vector.js
Jan Drewniak b599da4153 Override mw.experiments.getBucket() via body classes
When AB bucketing via ABRequirements.php in Vector,
the browser has no awareness of this bucketing and buckets users
once more via mw.experiments.getBucket() in AB.js.

mw.experiments uses a different algorithm than ABRequirements.php,
causing a mismatch between the server-side bucketing
and the client-side bucketing.

This patch overrides that client-side bucketing by
adding classes to the HTML element that are recognized
by AB.js

Bug: T335972
Change-Id: I0549a8dee23ebe7cd68465f8403e4f7aac76633e
2023-05-24 18:21:30 -04:00
..
AB.js Override mw.experiments.getBucket() via body classes 2023-05-24 18:21:30 -04:00
activeABTest.json Merge skins.vector.es6 into skins.vector.js 2023-04-11 23:18:46 +00:00
config.json Point out the limited width control 2023-04-14 17:15:56 +00:00
deferUntilFrame.js Merge skins.vector.es6 into skins.vector.js 2023-04-11 23:18:46 +00:00
dropdownMenus.js Drop ES5 compatible code 2023-04-13 00:27:22 +00:00
echo.js Fix InvalidCharacterError: Failed to execute 'add' on 'DOMTokenList' 2023-04-20 13:44:36 -06:00
features.js Consolidate and fix eslint errors, dropping ts-ignores 2023-04-11 16:56:31 -07:00
languageButton.js Use modern ES6 methods 2023-04-14 13:38:38 -07:00
limitedWidthToggle.js Ensure page load popupNotification is closed when the toggle button is clicked 2023-05-03 15:16:15 -05:00
limitedWidthToggle.less styles: Apply Codex z-index tokens 2023-05-15 17:34:36 -07:00
menuTabs.js Drop ES5 compatible code 2023-04-13 00:27:22 +00:00
pinnableElement.js popupNotification Fix memory leaks 2023-04-25 14:51:25 +02:00
popupNotification.js popupNotification Fix memory leaks 2023-04-25 14:51:25 +02:00
scrollObserver.js Merge skins.vector.es6 into skins.vector.js 2023-04-11 23:18:46 +00:00
searchLoader.js Remove Eslint disable and TypeScript ignore rules, bump coverage 2023-04-13 00:20:44 +00:00
searchToggle.js Merge skins.vector.es6 into skins.vector.js 2023-04-11 23:18:46 +00:00
sectionObserver.js Consolidate and fix eslint errors, dropping ts-ignores 2023-04-11 16:56:31 -07:00
setupIntersectionObservers.js Run A/B test enrollment code for any A/B test 2023-05-11 14:36:42 -07:00
skin.js Consolidate watchstar icon updating logic under watchstar.js 2023-05-16 13:18:47 -05:00
stickyHeader.js Consolidate watchstar icon updating logic under watchstar.js 2023-05-16 13:18:47 -05:00
stickyHeaderAB.js Merge skins.vector.es6 into skins.vector.js 2023-04-11 23:18:46 +00:00
tableOfContents.js Remove VectorTableOfContentsBeginning flag 2023-05-08 22:25:03 +00:00
tableOfContentsConfig.json Remove VectorTableOfContentsBeginning flag 2023-05-08 22:25:03 +00:00
watchstar.js Consolidate watchstar icon updating logic under watchstar.js 2023-05-16 13:18:47 -05:00