VectorGOLEM/includes
Nicholas Ray 49f2b25737 Create A/B test harness for Language in header feature
* Adds ab test config to enable/disable the ab test. Defaults to `false`
(ab test disabled).

* Adds a `languageinheader` query param which only takes effect when the
ab test is enabled. The query param is cast to a bool and determines
which treatment is shown. For example, set query param to
`languageinheader=1` to see the new treatment. Set query param to
`languageinheader=0` to see the old treatment. To bucket based on the
user's id or global user's id, don't set the query param.

* Moves the language in header config work that was previously in
ServiceWiring into a `LanguageInHeaderTreatmentRequirement` class so
that unit tests can be done on most of the logic that determines whether
the language in header will show.

* Adds logic to bucket user based on [global] user id.

Bug: T280825
Change-Id: Id538fe6e09002fae6c371109769f3b7d61e7ac6d
2021-05-04 14:41:53 -06:00
..
FeatureManagement Create A/B test harness for Language in header feature 2021-05-04 14:41:53 -06:00
HTMLForm/Fields build: Updating mediawiki/mediawiki-codesniffer to 33.0.0 2020-11-17 23:33:50 +01:00
templates templates: Remove role deprecation HTML comments 2021-04-30 15:44:52 +01:00
Constants.php Create A/B test harness for Language in header feature 2021-05-04 14:41:53 -06:00
Hooks.php Move resource loader definition to skin.json 2021-02-12 01:49:21 +00:00
ServiceWiring.php Create A/B test harness for Language in header feature 2021-05-04 14:41:53 -06:00
SkinVector.php Remove 'noexternallanglinks' check from `canHaveLanguages` 2021-04-21 10:45:06 -06:00
SkinVersionLookup.php Use User->isRegistered(), not deprecated isLoggedIn() 2020-12-19 16:44:06 +00:00
VectorServices.php hooks: Don't use SkinVersionLookup directly 2020-08-18 11:40:48 +01:00