Hello. I am writing here to ask for help regarding a custom Repository/Client Wikibase installation i made locally.
Just as a brief introduction: we already have a productive 15.000 pages custom wiki. Since it is quite data-intensive, we would like to implement Wikibase and migrate the more structured data there.
Before going Wikibase on the productive Wiki, I setup a local machine for testing purpose and to gain experience on this extension. So I setup two MediaWiki instances: one with the Repository and Client extensions to act as "database" and the other one with only Client extension, intended to only consume data.
I read all the documentation I found and I was able to make everything work, although with some trial-and-error, but I can only read items with Arbitrary Access doing something like `{{#statements:P1|from=Q1}}`. Trying the Direct Access `{{#statements:P1}}` results in an empty string.
I think I somehow miss something in Interwiki and/or SiteLink, so please help me here. Am I right that, in order to use Direct Access, I need to add a SiteLink in the Item page pointing to the page in the Client Wiki? I should create a link in the "Other Sites" group from the Repository wiki to the Client one? Am I right here? When I try to add the site to "Other sites" I can only see "wikidatawiki": I assume this is some kind of placeholder I should customize, but I do not know how to do it. I already setup the Interwiki linking between the two sites in the "interwiki" table of the databases.
What am I missing here?
Thanks in advance for any help you might provide
Luca
--- Questa email è stata esaminata alla ricerca di virus da AVG. http://www.avg.com
Hi Luca,
On Sun, Feb 24, 2019 at 10:15 PM Luca Mauri lucamauri47@email.it wrote:
Hello. I am writing here to ask for help regarding a custom Repository/Client Wikibase installation i made locally.
Just as a brief introduction: we already have a productive 15.000 pages custom wiki. Since it is quite data-intensive, we would like to implement Wikibase and migrate the more structured data there.
Before going Wikibase on the productive Wiki, I setup a local machine for testing purpose and to gain experience on this extension. So I setup two MediaWiki instances: one with the Repository and Client extensions to act as "database" and the other one with only Client extension, intended to only consume data.
Great to hear! I'd love to hear more about it.
I read all the documentation I found and I was able to make everything work, although with some trial-and-error, but I can only read items with Arbitrary Access doing something like `{{#statements:P1|from=Q1}}`. Trying the Direct Access `{{#statements:P1}}` results in an empty string.
I think I somehow miss something in Interwiki and/or SiteLink, so please help me here. Am I right that, in order to use Direct Access, I need to add a SiteLink in the Item page pointing to the page in the Client Wiki? I should create a link in the "Other Sites" group from the Repository wiki to the Client one? Am I right here? When I try to add the site to "Other sites" I can only see "wikidatawiki": I assume this is some kind of placeholder I should customize, but I do not know how to do it. I already setup the Interwiki linking between the two sites in the "interwiki" table of the databases.
That seems all correct.
What am I missing here?
Did you do this part? https://www.mediawiki.org/wiki/Wikibase/Installation#For_Wikibase_Repository...
Cheers Lydia
----- Original Message ----- From: "Lydia Pintscher" Lydia.Pintscher@wikimedia.de To: lucamauri47@email.it, "Wikibase Community User Group" wikibaseug@lists.wikimedia.org Sent: Monday, February 25, 2019 6:55:30 PM Subject: Re: [Wikibase] Help with Direct Access on custom Wikibase
Hi Luca,
Dear Lydia, first of all, thanks for helping me.
[cut] extension, intended to only consume data.
Great to hear! I'd love to hear more about it.
Pardon me, you mean you are interested in having more details on our little project? I am flattered :-) Is this the right ML to expose this, or is there amore suitable place?
[cue] I already setup the Interwiki linking between the two sites in the "interwiki" table of the databases.
That seems all correct.
Good, that's comforting :-)
Did you do this part? https://www.mediawiki.org/wiki/Wikibase/Installation#For_Wikibase_Repository...
Yes I did it: first when I completed the Wikibase installation and again when I updated the tables (is this correct?). I also tried to launch it again today, but in the "Other sites" I keep finding "wikidatawiki" only. Do you have any other suggestions where to investigate this issue?
Thanks a lot
Luca
On 2019-02-26 17:38, Luca Mauri wrote:
[cut] Yes I did it: first when I completed the Wikibase installation and again when I updated the tables (is this correct?). I also tried to launch it again today, but in the "Other sites" I keep finding "wikidatawiki" only. Do you have any other suggestions where to investigate this issue?
For the sake of anyone else interested in this topic, please note this has been followed up here https://www.wikidata.org/wiki/Wikidata:Contact_the_development_team/Archive/... and further discussed here https://phabricator.wikimedia.org/T218282
Hopefully this can help other users
Have a nice day
Luca
--- Questa email è stata esaminata alla ricerca di virus da AVG. http://www.avg.com
On Tue, Feb 26, 2019 at 5:39 PM Luca Mauri lucamauri47@email.it wrote:
Great to hear! I'd love to hear more about it.
Pardon me, you mean you are interested in having more details on our little project? I am flattered :-)
Hehe yes.
Is this the right ML to expose this, or is there amore suitable place?
This seems like a perfectly fine place if you want, yeah.
Cheers Lydia
wikibaseug@lists.wikimedia.org