mediawiki-skins-Vector/resources
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
..
common styles: Apply Codex z-index tokens 2023-05-15 17:34:36 -07:00
mediawiki.less Import Codex tokens into mediawiki.skin.variables.less 2023-03-15 21:15:01 +00:00
skins.vector.js Override mw.experiments.getBucket() via body classes 2023-05-24 18:21:30 -04:00
skins.vector.legacy.js Forbid jQuery usage in Vector 2022 2023-04-17 17:20:59 +00:00
skins.vector.search Use modern ES6 methods 2023-04-14 13:38:38 -07:00
skins.vector.styles Merge "styles: Apply Codex z-index tokens" 2023-05-22 16:46:01 +00:00
skins.vector.styles.legacy styles: Apply Codex z-index tokens 2023-05-15 17:34:36 -07:00
skins.vector.zebra.styles Merge "styles: Apply Codex z-index tokens" 2023-05-22 16:46:01 +00:00
CheckboxHack.d.ts
CollapsibleTabsPlugin.d.ts
MediaWikiPageReady.d.ts
mw.d.ts
VectorResourceLoaderVirtualConfig.d.ts Refactor: Separate A/B test configuration from site configuration 2023-04-11 22:40:45 +00:00
vue.d.ts