Wikimedia Developer Support

Remove ⧼wikibase-sitelinks⧽

I asked here: https://www.wikidata.org/wiki/Wikidata:Contact_the_development_team#⧼wikibase-sitelinks⧽

but no working solution has been found. I’m struggling to remove sitelinks to other wikimedia wikis from Wikibase repository:
“Wikipedia
⧼wikibase-sitelinks-wikinews⧽
⧼wikibase-sitelinks-wikiquote⧽
⧼wikibase-sitelinks-wikisource⧽
⧼wikibase-sitelinks-wikivoyage⧽
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