Talk:Wikibase/FAQ

Federating properties
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)


 * referencing post on mailing list. -Mohammed Sadat (WMDE) (talk) 14:14, 1 March 2022 (UTC)


 * 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)
 * 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)
 * 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)

Wikidata schema
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 (User talk:Versant.2612 • Special:Contributions/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)

Dedicated wiki for Wikibase
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)


 * 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 (link to revision).
 * Rdrg109 (talk) 23:05, 12 November 2022 (UTC)

Localization: sl
Hello. I would like to report a bug in relation to MediaWiki:Wikibase-statementview-references-counter/sl. At Wikidata:WikiProject Public art, it shows "0 sklica", which is incorrect. Of the forms listed at translatewiki, the parser evidently takes the second stated form ('sklica') for 0 whereas the correct one would be the last one ('sklicev'). Thank you for having a look into this. --TadejM (talk) 10:27, 5 January 2023 (UTC)