diff MoinMoin/wikiutil.py @ 27:883dd7b59979

bugfix indexgrouping for TitleIndex imported from: moin--main--1.5--patch-28
author Thomas Waldmann <tw@waldmann-edv.de>
date Sat, 24 Sep 2005 18:03:54 +0000
parents 77665d8e2254
children 55ff4feb0f59
line wrap: on
line diff
--- a/MoinMoin/wikiutil.py	Sat Sep 24 17:35:11 2005 +0000
+++ b/MoinMoin/wikiutil.py	Sat Sep 24 18:03:54 2005 +0000
@@ -831,7 +831,7 @@
     if u'\uAC00' <= c <= u'\uD7AF': # Hangul Syllables
         return unichr(0xac00 + (int(ord(c) - 0xac00) / 588) * 588)
     else:
-        return c
+        return c.upper() # we put lower and upper case words into the same index group
 
 
 def isStrictWikiname(name, word_re=re.compile(ur"^(?:[%(u)s][%(l)s]+){2,}$" % {'u':config.chars_upper, 'l':config.chars_lower})):