Joshua C. Lerner escribió:
> On Tue, Jan 19, 2010 at 4:25 AM, Javier Bezos <[email protected]> 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"
>> doesn't:
>> * 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.
> 
> Joshua

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.
>From r61150 you could override it with SearchGetNearMatchBefore hook.

You seem to have something else going on, though, since the page title
is moved to the matching page.
http://www.wikilengua.org/index.php?title=tOpOnImOs_DE_eSpAñA wouldn't
show [[Topónimos de España]] by default, but in wikilengua it does.


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to