-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List of sitelink languages has to be updated manually #72
Comments
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. |
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?
The text was updated successfully, but these errors were encountered: