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

Make searching for the Wikipedia title case-insensitive #12

Open
evanharmon1 opened this issue Jul 28, 2023 · 1 comment
Open

Make searching for the Wikipedia title case-insensitive #12

evanharmon1 opened this issue Jul 28, 2023 · 1 comment

Comments

@evanharmon1
Copy link

E.g.: if I invoke the plugin from an Obsidian page named Synoptic Philosophy, the plugin says there is no Wikipedia page found. But if I change my Obsidian page to Synoptic philosophy the plugin successfully finds Synoptic philosophy - Wikipedia.

The default should be case-insensitive in my opinion, but there should at least be an option to allow for case-insensitivity.

@evanharmon1
Copy link
Author

Actually, this appears to partially be an issue with the Wikipedia API. I think the failures I am seeing are when there is not a specific redirect in Wikipedia for a given case-mismatch. E.g. Woozle effect - Wikipedia worked from an Obsidian page named either Woozle Effect or Woozle effect I think due to the existence of this extant Wikipedia redirect - https://en.wikipedia.org/w/index.php?title=Woozle_Effect&redirect=no.

However, it would be super useful to have this plugin try a permutation of cases in order to successfully find the somewhat numerous Wikipedia pages that don't have redirects for normal case mismatches.

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

No branches or pull requests

1 participant