Jump to content

Talk:Wikibase/FAQ

Add topic
From mediawiki.org
Latest comment: 4 months ago by Juandev in topic Dedicated wiki for Wikibase

Federating properties

[edit]

After following the FAQ instructions on federating properties, when I try to add a statement, I can't seem to access any properties at all. What do I have to do? Do I have to request them using an API?

Will Hanley (talk) 21:23, 18 February 2022 (UTC)Reply

referencing post on mailing list. -Mohammed Sadat (WMDE) (talk) 14:14, 1 March 2022 (UTC)Reply
Hi Will! If you have it configured correctly then it should all just work, so my guess would be that something is not configured correctly!
What do you see if you go to the `Special:ListProperties` page?
How are you running Wikibase? ·addshore· talk to me! 09:47, 1 March 2022 (UTC)Reply
Hello Adam. Thanks for your response; sorry it took me a long time to reply. The `Special:ListProperties` page reports no results, so I guess I misconfigured, though I don't think I did anything beyond the basic install. I'm using the docker image on OSX. - Will Hanley (talk) 18:58, 11 May 2022 (UTC)Reply
In order to enable federated properties you need to set `$wgWBRepoSettings['federatedPropertiesEnabled'] = true;` in your LocalSettings.php file.
To do this in the docker images you have 2 options. 1) just modify the file in the current container (temporary) 2) Copy the file from the container, modify it, and then mount it into the correct location ·addshore· talk to me! 19:03, 26 May 2022 (UTC)Reply

Wikidata schema

[edit]

Are there any document that contains the mapping of Wikidata Data Model into a Wikibase database schema? I want know, for example, if Item is mapped to one relational table of MariaDB and Property to another one or if both are mapped to only one table (as Entity), if ItemDescriptions has a separate table, how many tables support the Statement structure, including references and qualifiers, which column datatype is used to represent an IRI, and so on. Or even if the entire model is stored as a JSON document, one for each entity.

https://www.mediawiki.org/wiki/Wikibase/DataModel https://doc.wikimedia.org/Wikibase/master/php/docs_topics_json.html

— Preceding unsigned comment added by Versant.2612 (talkcontribs)

@Versant.2612: Hi there,
No there is not a document such as this, as Wikibase entities do not map to any database schema.
An internal entity JSON representation is stored in the MediaWiki content store. By default this is Manual:Text_table.
There are some secondary tables, current docs for these can be found at https://doc.wikimedia.org/Wikibase/master/php/docs_topics_storage.html
·addshore· talk to me! 19:06, 26 May 2022 (UTC)Reply

Dedicated wiki for Wikibase

[edit]

Hi, I'm working on a Wikibase.cloud installation and I would like to e.g. be able to document or read documentation from others about how to say setup an url formatter on a property. What about setting up one at wiki.wikiba.se? So9q (talk) 11:30, 10 November 2022 (UTC)Reply

For the record, this post was shared in this message in Wikibase Community and a discussion was started there.
Sitenote: Documentation on setting URL formatter on a property is explained in Wikibase/Installation/Advanced_configuration#Define_links_for_external_identifiers (link to revision).
Rdrg109 (talk) 23:05, 12 November 2022 (UTC)Reply
Or what about Discord? Juandev (talk) 09:39, 21 June 2024 (UTC)Reply

Get in touch with the team

[edit]

How does Get in touch with the team work? If I send a question to the team from Wikibase Cloud and does not leave a contact (as How can we reach you? is optional), how do I get the answer? Is added to this FAQ? Juandev (talk) 18:35, 20 June 2024 (UTC)Reply