The autocomplete profiles generated in T213105 will be per-language. We currently have the ability to AB test per-language settings, but have no method to deploy them. Adjust the profile handling in wikidata entity completion search to allow setting based on primary language being searched to match.
In addition to changing to allow per-language, it might be nice to rethink how the profiles are presented as well. To run the english AB test we created 3 new profiles for 3 separate things: https://gerrit.wikimedia.org/r/#/c/operations/mediawiki-config/+/475817/2/wmf-config/WikibaseSearchSettings.php
Those profiles were:
|prefixSearchProfiles||wikibase_config_prefix_query_20181126||contains configuration for the per-label field weights and tie-breaker|
|rescoreProfiles||wikibase_config_entity_weight_20181126||Set query/rescore weight. Choose rescore chain|
|rescoreFunctionChains||wikibase_config_entity_weight_20181126||weight and satu parameters for rescore|
The actual AB test then had to send two profile parameters to select the appropriate prefix and rescore profiles.
The first thing i want to try to do here is to parameterize the rescoreFunctionChains. This should allow us to configure the function chain from the rescore profile, instead of defining a new function chain that's almost the same.