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

Allow Wikipedia search to handle proper nouns that don't follow first-letter capitalization #4

Open
mileswwatkins opened this issue Jan 2, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@mileswwatkins
Copy link
Owner

Words with internal capitalization (eg, Robert MacNamara) will fail in the Wikipedia search most of the time. It doesn't appear that the Wikipedia/Wikimedia REST API offers a search functionality, but maybe the other Wikipedia/Wikimedia XML/JSON APIs do, in which case we could fall back to that one.

See further explanation for how our current search functionality works inline at https://github.com/mileswwatkins/Mouse/blob/main/functions/wikipedia.private.js#L7-L17

@mileswwatkins mileswwatkins added the bug Something isn't working label Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant