Thread:Extension talk:TitleKey/Accent and special characters independent search/reply (2)

Apparently bug 20097 is exactly this, but since it's been there for a while, I am not sure anyone is looking into it.

As a "quick and dirty" fix, I used iconv to work around this problem.

I have patched extensions/TitleKey/TitleKey_body.php by changing the 'normalize' function to:

static function normalize( $text ) { global $wgContLang; setlocale(LC_ALL, 'pt_BR'); $newtext = iconv('UTF-8', 'ASCII//TRANSLIT', $text); return $wgContLang->caseFold( $newtext ); }

With the new file in place I ran TitleKey/rebuildTitleKeys.php and things seem to be working...

Will post updates here if I notice any undesirable side-effects...

Cheers,

Rbirmann (talk) 00:58, 10 October 2013 (UTC)