mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-25 08:05:51 +00:00
b599da4153
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 |
||
---|---|---|
.. | ||
AB.js | ||
activeABTest.json | ||
config.json | ||
deferUntilFrame.js | ||
dropdownMenus.js | ||
echo.js | ||
features.js | ||
languageButton.js | ||
limitedWidthToggle.js | ||
limitedWidthToggle.less | ||
menuTabs.js | ||
pinnableElement.js | ||
popupNotification.js | ||
scrollObserver.js | ||
searchLoader.js | ||
searchToggle.js | ||
sectionObserver.js | ||
setupIntersectionObservers.js | ||
skin.js | ||
stickyHeader.js | ||
stickyHeaderAB.js | ||
tableOfContents.js | ||
tableOfContentsConfig.json | ||
watchstar.js |