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

Coppermind searches automatically capitalize all words #14

Open
extremepayne opened this issue Sep 22, 2020 · 0 comments
Open

Coppermind searches automatically capitalize all words #14

extremepayne opened this issue Sep 22, 2020 · 0 comments

Comments

@extremepayne
Copy link

See title. This is a problem because coppermind pages are case sensitive; and while many pages have only capital letter titles , not all do. Expected behavior would be to initiate a search only when the provided search term doesn't match a page title, current behavior has an exception to this when the page title has un-capitalized words.
Example of failed interaction: here and following messages.
Note that Wobbot should continue to autocapitalize the first letter of a query, but not the first letter of every word in a query. Those familiar with MediaWiki know this is because MediaWiki makes all pages start with a capital letter.

As you can see below, the bot initiates a search instead of giving the page.
image

Maybe if I have time later I can throw together a PR for this, in the meantime I wanted to make sure it was kept track of.

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