Wikimedia Developer Support

Remove ⧼wikibase-sitelinks⧽

I asked here:⧼wikibase-sitelinks⧽

but no working solution has been found. I’m struggling to remove sitelinks to other wikimedia wikis from Wikibase repository:
Other sites”
Any idea ?

Try adding the following to your LocalSettings.php:

$wgWBRepoSettings['siteLinkGroups'] = [];
$wgWBRepoSettings['specialSiteLinkGroups'] = [];

I seem to recall a Phabricator task or Gerrit change to make those empty by default, but I can’t find it at the moment.

1 Like