mediawiki-skins-Vector/resources
Jan Drewniak 42b808738a Sticky header edit button A/B test bucketing
Adds behaviour for conditionally adding the edit button
to the sticky-header based on A/B test bucketing.

This behaviour depends on having the `$wgVectorStickyHeaderEdit` config
set to true for logged-in users:

    $wgVectorStickyHeaderEdit = [
        "logged_in" => true,
        "logged_out" => false
    ];

as well as an AB test configured with the following buckets:

    $wgVectorWebABTestEnrollment = [
        'name' => 'vector.sticky_header_edit',
        'enabled' => true,
        'buckets' => [
            'unsampled' => [
                'samplingRate' => 0
            ],
            'stickyHeaderEditButtonControl' => [
                'samplingRate' => 0
            ],
            'stickyHeaderEditButtonTreatment' => [
                'samplingRate' => 1
            ]
        ]
    ];

With that config, this change hides the sticky header for all users
except those in the stickyHeaderEditButtonTreatment bucket.

Bug: T299959
Change-Id: If252956bc530d8ce54eeda61f42a93ffa48255cb
2022-05-25 10:15:47 -04:00
..
common Merge "styles: Replace more deprecated mixins" 2022-05-19 23:27:07 +00:00
mediawiki.less Implement mediawiki.skin.variables.less for Vector 2020-09-16 08:39:13 -07:00
skins.vector.es6 Sticky header edit button A/B test bucketing 2022-05-25 10:15:47 -04:00
skins.vector.js Merge "build: Update eslint-config-wikimedia to 0.22.1" 2022-05-18 00:41:00 +00:00
skins.vector.legacy.js Update @wikimedia/types-wikimedia to latest version 2022-03-28 23:33:50 +00:00
skins.vector.search build: Update eslint-config-wikimedia to 0.22.1 2022-05-17 23:40:46 +01:00
skins.vector.styles Fixes Vector 2022 sidebar overlap when table of contents disabled 2022-05-23 23:13:29 +00:00
skins.vector.styles.legacy Updates for core temp user autocreation feature 2022-04-28 20:32:53 +00:00
CheckboxHack.d.ts Add enter/spacebar keyboard support to sidebar. 2020-07-09 22:38:15 +02:00
CollapsibleTabsPlugin.d.ts
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 Address some code FIXMEs 2022-03-21 20:29:58 +00:00
vue.d.ts Integrate WVUI search into Vector 2020-12-08 13:27:12 -08:00