Hi!

Here an example …. Imagine I search for the identifiers of entities called 
“Barack Obama”. In Wikidata I would do:

api.php?action=wbgetentities&sites=enwiki&titles=Barack_Obama&format=jsonfm

So for wikidata I would put “enwiki”. But what do I put as a parameter for my 
private wiki? Where is this defined?

Thank you
Dennis


 <http://laboratoirehubertcurien.fr/>
Dennis DIEFENBACH
Doctorand
[email protected] 
<mailto:[email protected]>
Laboratoire Hubert Curien
Campus Manufacture
18 RUE Pr Benoît Lauras
42000 SAINT-ETIENNE
04 77 91 57 80
http://laboratoirehubertcurien.fr <http://laboratoirehubertcurien.fr/>
 <http://www.univ-st-etienne.fr/>
 <http://www.facebook.com/Universite.Jean.Monnet.Saint.Etienne>  
<https://twitter.com/Univ_St_Etienne>   
<https://www.youtube.com/user/UniJeanMonnetUJM>         
<https://www.linkedin.com/edu/universit%C3%A9-jean-monnet-saint-etienne-12533>  
<http://www.viadeo.com/fr/company/universite-jean-monnet>       
<http://www.universite-lyon.fr/>

> On 20. Mar 2018, at 18:31, Lydia Pintscher <[email protected]> 
> wrote:
> 
> On Mon, Mar 19, 2018 at 11:27 AM, Dennis Diefenbach <
> [email protected]> wrote:
> 
>> Hello!
>> 
>> I need some help. We are running a private wikibase and we are very happy
>> with it. Since recently we are accessing the wiki via java using the
>> wikidata toolkit. We want to search for an entity ID given the title. The
>> problem is the parameter sitekey.
>> 
>> The question is. In the API of
>> wbgetentities
>> 
>> (https://www.mediawiki.org/wiki/Wikibase/API) what is the value of the
>> 
>> site
>> 
>> parameter for our private wiki.
>> 
>> If I remember correctly we installed the wikibase following these
>> instructions:
>> 
>> https://www.mediawiki.org/wiki/Wikibase/Installation
>> 
>> Thank you
>> Dennis
> 
> 
> 
> Hey Dennis,
> 
> Can you give us a concrete example of what you want to get please?
> 
> 
> Cheers
> Lydia
> 
> --
> 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.
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Attachment: signature.asc
Description: Message signed with OpenPGP

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to