Page MenuHomePhabricator

Deprecate mw.config.values.wbSiteDetails
Open, LowPublic

Description

Follow up to T256054: Copy dependencies of "jquery.wikibase.linkitem" Resource Loader module to Wikibase client JS code. As part of decoupling client and repo, and their frontend code.
This config value is polymorphic and behaves differently under a client or a repo while pretending to be a universal configuration value.
This should be split and client and repo define their own values and use that instead.

Event Timeline

@Ladsgroup Can you clarify how wbSiteDetails differs between client and repo?

@Ladsgroup Can you clarify how wbSiteDetails differs between client and repo?

It heavily depends on what settings are set for client and repo of that instance. If you take a look at SitesModule. The output basically combines setting of client and repo and tries to build a site module out of it, so if you change the specialSiteLinkGroups client setting in a repo, it would reflect on a repo js module.