commons-app / apps-android-commons

The Wikimedia Commons Android app allows users to upload pictures from their Android phone/tablet to Wikimedia Commons
https://commons-app.github.io/
Apache License 2.0
1k stars 1.18k forks source link

Wikidata Toolkit usage in our project #1531

Open neslihanturan opened 6 years ago

neslihanturan commented 6 years ago

Summary:

Wikidata Toolkit team came yesterday and said it can be beneficial for us to switch using toolkit (if it is possible technically (Java versions compatibility can be a pain)) for our Wikidata integration. Currently we don't have too much to do with Wikidata but in near future we can include some cool stuff and a toolkit could be really beneficial. What does team think?

whym commented 6 years ago

I believe Structured Data on Commons is going to replace some of the metadata we currently write using different templates with Wikidata-style structured data. For this WDTK could be more useful - much of it is still under discussion but we might have a better way to describe the subject of an image (e.g. is there a building or a person in it?) and it could be more user-friendly to use such features than asking the user to type in plain text.

misaochan commented 6 years ago

@neslihanturan What are the benefits of using the Wikidata toolkit over our current implementation? (Besides the compatibility with the future structured data change that whym mentioned)

wetneb commented 4 years ago

In OpenRefine (which uses Wikidata-Toolkit) we are hoping to work on Commons integration, so we are thinking about working on WDTK to improve it where needed.

For you, WDTK would bring a complete implementation of the Wikibase datamodel (statements, qualifiers, entity values) and a simple wrapper around the Wikibase API to edit structured data.

If you see things that are missing feel free to reach out!

whym commented 11 months ago

So after a few years, I believe the current state is that the app does interact with Wikidata and Commons structured data now, but without using WDTK. (And that when this issue was written, there was no structured data interaction in the app.)

It seems like we have no strong reason to switch to WDTK currently. We could revisit the choice and the design in future, though.

nicolas-raoul commented 11 months ago

The WDTK GitHub project seems quite active. On the other hand, we do not use many of the Wikidata API's methods, so we might not get many benefits from using WDK. If a quality pull request (+unit tests) comes replacing all Wikidata calls with WDTK, I guess we would accept it.

wetneb commented 11 months ago

Hopefully it would be able to help not just for calls to Wikidata, but also to Wikimedia Commons' own Wikibase API. But if you already have something that works, maybe there is no need ^^