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 Add enter/spacebar keyboard support to sidebar. 2020-07-09 22:38:15 +02:00
CollapsibleTabsPlugin.d.ts [JavaScript] Validate types 2020-03-16 09:10:08 -06:00
MediaWikiPageReady.d.ts Vector manages search functionality and provides config flag 2020-08-04 00:06:31 +00:00
mw.d.ts Use centralized MediaWiki typescript definition 2021-07-26 21:27:12 +00:00
VectorResourceLoaderVirtualConfig.d.ts Refactor: Separate A/B test configuration from site configuration 2023-04-11 22:40:45 +00:00
vue.d.ts Integrate WVUI search into Vector 2020-12-08 13:27:12 -08:00