Skip to content
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

Wikipedia widget not working after switching to WDQS endpoint #927

Closed
osma opened this issue Feb 10, 2020 · 2 comments · Fixed by #928
Closed

Wikipedia widget not working after switching to WDQS endpoint #927

osma opened this issue Feb 10, 2020 · 2 comments · Fixed by #928
Labels
Milestone

Comments

@osma
Copy link
Member

osma commented Feb 10, 2020

At which URL did you encounter the problem?

http://dev.finto.fi/yso-paikat/en/page/p138638

What steps will reproduce the problem?

  1. Open a YSO place with a Wikidata link, on an installation which includes the Wiki widget

What is the expected output? What do you see instead?

Expected to see the Wikipedia page for the place, but instead getting a message " No wikipedia article on any vocabulary language. "

The problem is that the wiki widget needs some additional information about Wikipedia sitelinks: type (Article), isPartOf and inLanguage. The SPARQL query in WDQSResource class doesn't currently include these.

@osma osma added the bug label Feb 10, 2020
@osma osma added this to the 2.3 milestone Feb 10, 2020
@osma
Copy link
Member Author

osma commented Feb 10, 2020

@osma
Copy link
Member Author

osma commented Feb 10, 2020

It's working now: http://dev.finto.fi/yso-paikat/fi/page/p138638

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant