Open SannitaSSJ opened 6 years ago
Yes this would be lovely. I missed the sitelink functionality once or twice already
As part of this it could be useful to update Wikidata-Toolkit's API to make it easier to add / delete sitelinks. This is currently only possible by sending the whole item JSON to the server, whereas we are currently using incremental changes with the updateTermsStatements
method:
https://github.com/Wikidata/Wikidata-Toolkit/blob/master/wdtk-wikibaseapi/src/main/java/org/wikidata/wdtk/wikibaseapi/WikibaseDataEditor.java
So I have opened an issue here: https://github.com/Wikidata/Wikidata-Toolkit/issues/486
For anyone who is looking for a solution: Wikibase-Cli started supporting this: https://github.com/maxlath/wikibase-cli/blob/main/docs/write_operations.md
I have received a new request for this feature just today.
Status: unfortunately there are no plans or people/money to work on this yet.
As a circumvention, I personally add sitelinks as follows:
The QuickStatements syntax for sitelinks is described here: https://www.wikidata.org/wiki/Help:QuickStatements#Adding_labels,_aliases,_descriptions_and_sitelinks
Is your feature request related to a problem or area of OpenRefine? Please describe. It would be awesome to have a functionality that lets users add also sitelinks to Wiki* projects, through a Wikidata schema.
Describe the solution you'd like Adding some space below the statements part in the Wikidata schema, that works kinda the label/description area, but that lets you add sitelinks to Wiki* projects.
Describe alternatives you've considered As of now, there are no practical alternatives (except doing this outside the OR framework.