17thshard/WoBBot

Coppermind searches automatically capitalize all words

Opened this issue · 0 comments

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.