wikibase-sdk
wikibase-sdk copied to clipboard
List of sitelink languages has to be updated manually
Currently the list of sitelink languages has to be updated manually. When using the sitelinks of an entity and putting them all into getSitelinkData
the ones with yet not known languages will fail.
Updating the list will fix this until the next language arrives.
Any ideas how to approach this better than having a fixed list that needs manual updates?
do you think having periodic updates, like with a cron job or something, could be enough to solve it?
Updating the list on a regular basis would be a simple solution. But that also requires to update the projects depending on this library on a regular basis too.
Updating the languages on startup / regularly by code isn't currently possible as this library works without a data request library. supplying the current list to the getSitelinkData function seems strange to me too.
Not sure if there is a good solution besides the regular semi-automated update you suggested.