Hi Ivan,

As Lydia mentioned, in order to add local Wikibase repository, you need to have your local mediawiki name in the sites table. Refer to "Insert wiki family" section at[0] for how to do that.

As for documentation, make sure you've carefully read [1]. Now, look at Wikibase client options[2] and repo options[3] to look at the variables that you need to configure according to your local wiki. Each option has a documentation as comments above. As far as I remember, you'll need to add "mywiki" to "siteLinkGroups" in repo[3], where "mywiki" is as given in [0]. Similarly, see if you need to change "repoUrl", "repoScriptPath", "repoArticlePath" options in client settings[2] if yours are not MediaWiki default.

Thats all you should need to tweak to make your local Wikibase repo recognizable in sitelinks. 

[0] - https://www.mediawiki.org/wiki/Manual:Sites_table
[1] - https://www.mediawiki.org/wiki/Wikibase/Installation
[2] - https://github.com/wikimedia/mediawiki-extensions-Wikibase/blob/master/client/config/WikibaseClient.example.php
[3] - https://github.com/wikimedia/mediawiki-extensions-Wikibase/blob/master/repo/config/Wikibase.example.php

-With Warm Regards

On Thu, Jun 1, 2017 at 7:07 PM, Lydia Pintscher <lydia.pintscher@wikimedia.de> wrote:
Hi Iván,

It seems what you need is to get your repo and client into the sites
table of each of them. I am CCing Katie and Marius who might have
pointers to documentation about how to do that.


Cheers
Lydia


On Sun, May 28, 2017 at 10:26 PM, Iván Hernández Cazorla
<ivanhercaz@gmail.com> wrote:
> Hi everyone,
>
> Excuse me for my insistence but, does anyone know something about it? If I
> should detailed better what I am trying, notice me and I will detail it.
>
> Thanks in advance.
>
> Regards, Iván
>
>
> On 16/05/17 19:39, Iván Hernández Cazorla wrote:
>
> Hi everyone,
>
> I am trying to include data from a Wikibase item in a page with
> {{#property:P2}}. For that I need to link the page with the item, as in
> Wikidata, add a sitelink. However, I don't know how to link a page with my
> local repository, because in the sitelinks section I only see the options to
> add a sitelink of a Wikimedia's wiki. You can check the attached image to
> see what I see.
>
> I didn't find useful documentation to solve it. Could anyone help me?
>
> Thanks in advance.
>
> Regards, Iván
>
> --
> Iván Hernández Cazorla.
> Estudiante del Grado de Historia en la Universidad de Las Palmas de Gran
> Canaria.
> Socio de Wikimedia España.
> Sitio web personal.
>
>
> --
> Iván Hernández Cazorla.
> Estudiante del Grado de Historia en la Universidad de Las Palmas de Gran
> Canaria.
> Socio de Wikimedia España.
> Sitio web personal.
>
> _______________________________________________
> Wikidata mailing list
> Wikidata@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikidata
>



--
Lydia Pintscher - http://about.me/lydia.pintscher
Product Manager for Wikidata

Wikimedia Deutschland e.V.
Tempelhofer Ufer 23-24
10963 Berlin
www.wikimedia.de

Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.

Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg
unter der Nummer 23855 Nz. Als gemeinnützig anerkannt durch das
Finanzamt für Körperschaften I Berlin, Steuernummer 27/029/42207.

_______________________________________________
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata