Topic on Project:Support desk

search autocomplete case insensitive

4
72.228.158.3 (talkcontribs)

We have several topics that haves upper case characters in the title. When searching the autocomplete does not complete the search using all lower case characters (searching however will). It looks as if the default configuration is only case insensitive for the first character. I would like to have the autocomplete case insensitive. I know this has the ability to be enabled as Wikipedia does not have this problem.


My effort researching a solution has been unsuccessful.


MediaWiki 1.20.2

Brooke Vibber (talkcontribs)
Pedro.guima (talkcontribs)

Probably not the right way to fix this, but a possible workaround is:

vim includes/PrefixSearch.php +234

Replace

'page_title using utf8 ' . $dbr->buildLike( $prefix, $dbr->anyString() )

with

'CONVERT (page_title using utf8 ) ' . $dbr->buildLike( $prefix, $dbr->anyString() )

Reply to "search autocomplete case insensitive"