mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-12 09:21:11 +00:00
eb597645c3
- Include temporary feature requirement for TOC A/B test. - Assumes 100% of logged-in users with even/odd user ids being assigned to treatment/control buckets respectively. - Sampling rates passed in by config are not considered during bucketing. - Update hook for adding needed TOC A/B test body classes. - Add test for temp feature. Note: the temporary feature requirement and associated hooks should be removed once the 2nd TOC A/B test concludes. Bug: T313435 Change-Id: If9c75235614af289cd50182baab29bec3155eb81
13 lines
445 B
Plaintext
13 lines
445 B
Plaintext
.skin-vector-toc-experiment-control .mw-table-of-contents-container,
|
|
.skin-vector-toc-experiment-control #vector-toc-collapsed-button,
|
|
body:not( .skin-vector-toc-experiment-control ) #toc {
|
|
// This trumps any layout rules e.g. vector-layout-grid
|
|
/* stylelint-disable-next-line declaration-no-important */
|
|
display: none !important;
|
|
}
|
|
|
|
// T313435 Show legacy toc for control group.
|
|
.skin-vector-toc-experiment-control #toc {
|
|
display: table;
|
|
}
|