[Mediawiki-l] Trouble with case
Platonides at gmail.com
Tue Jan 19 22:42:45 UTC 2010
Joshua C. Lerner escribió:
> On Tue, Jan 19, 2010 at 4:25 AM, Javier Bezos <jbezos en fundeu.es> wrote:
>> We are using mediaWiki 1.14.1.
>> Our wiki is about language, so case is significant and "word"
>> and "Word" could be quite different things. Accordingly,
>> $wgCapitalLinks has been set to false. However, the behaviour
>> is somewhat strange. If, for example, "word" exists, but "Word"
>> * Searching for "word" shows "word" -- OK
>> * Searching for "Word" shows "word", which is wrong because
>> they are different thing.
> Search is case-insensitive in MediaWiki by default. You may want to
> try the SphinxSearch extension
> (http://www.mediawiki.org/wiki/Extension:SphinxSearch), which seems to
> have an option for case-sensitive search (see option "charset_table"
> in sphinx.conf).
> Haven't tried any of it though.
It's not just searching.
The Go option will try to lowercase the given text to look if something
matches. That's useful when people write everything it in uppercase.
If the exact match exists, it will obviously take priority.
More information about the MediaWiki-l