Topic on Project:Support desk

help needed with Enabling sitelinks in Wikibase installation

4
Wikirik123 (talkcontribs)

Hi all, i need some help with Enabling the sitelinks in my Wikibase installation. I have Wikimedia 1.34 and Wikibase 1.34 installed.

I am trying to follow this guideline: Wikibase/Installation#Enable Sitelinks but i'm stuck. I followed the instructions in step 1 to create the custom groups in my LocalSettings.php. There was no such entry yet in the LocalSettings.php file, so i made a new one. This appears to have worked. I used this code:

$wgWBRepoSettings['siteLinkGroups'] = [ 'Wikidata', 'Wikimedia Commons', 'MediaWiki', 'Wikispecies', 'Wikibooks', 'Wikimania', 'Wikinews', 'Wikipedia', 'Wikiquote', 'Wikisource', 'Wikiversity', 'Wikivoyage', 'Wiktionary', 'OpenStreetMap', 'other sites' ];

I also followed the actions under step 2.

Then, in step 3 i am instructed to add the sitelinks to my repo-wiki, but here i really do not know what to do. The instructions are unclear to me, i'm not sure what edit where, even with the specific instructions that Step 3 refers to.

Any help would be much appreciated!!


Wikirik123 (talkcontribs)

Any help, anyone?

Lucamauri (talkcontribs)

Hello. Please note in the $wgWBRepoSettings['siteLinkGroups'] you need to add groups of wiki, not individual wikis. For instance "Wikinews English" and "Wikipedia English" are part of two different groups called wikinews and wikipedia, so you need to add those groups to be able to use the individual wikis. Also is not clear what you want to do with "other sites" you wrote at the end. Do you know how to open your MediaWiki database? If yes, look into the sites table and it should be much clearer. Please try so and get back to this post with more details on what you want to achieve.

180.252.120.50 (talkcontribs)

I done for this, but I dont see when a page has site link, it not appear in sidebar sitelink, how it work?

Reply to "help needed with Enabling sitelinks in Wikibase installation"