Submitted by : StephanW at: 2006-10-16T00:59:24+00:00 (11 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

Note: This is a "forked issue" from #1036 overview of problems with zwiki's search features.

Problem description:

Proof of the problem in current wiki:

Variations of the problem:

Failed attempts to resolve the problem:

From betabug: The following diff will resolve this problem, tested on 0.58 on two machines:

  *** skins/zwiki/SearchPage.dtml.orig    Sat Feb 10 21:41:46 2007
  --- skins/zwiki/SearchPage.dtml Sat Feb 10 21:41:59 2007
  ***************
  *** 101,107 ****
      <dl>
      <dtml-try>
        <dt><a href="&dtml-wikiurl;/&dtml.url_quote-id;"><dtml-var "formatWikiname(Title)"></a></dt>
  !     <dd><small><em><dtml-var "pageWithName(id).excerptAt(cleanexpr,size=500)"></em></small></dd>
      </dl>
      <dtml-except>
        <dt>error</dt>
  --- 101,107 ----
      <dl>
      <dtml-try>
        <dt><a href="&dtml-wikiurl;/&dtml.url_quote-id;"><dtml-var "formatWikiname(Title)"></a></dt>
  !     <dd><small><em><dtml-var "pageWithName(Title).excerptAt(cleanexpr,size=500)"></em></small></dd>
      </dl>
      <dtml-except>
        <dt>error</dt>


comments:

This is more a general non-ascii problem, isn't it? --EmmaLaurijssens, Mon, 16 Oct 2006 01:48:26 -0700 reply
non-ascii characters in page names are converted to a hex string first, so I assume the conversion from one format to the other goes wrong when searching.

This is more a general non-ascii problem, isn't it? --StephanW, Mon, 16 Oct 2006 01:54:24 -0700 reply
Ok, that means that UmlautPages are excluded from searching in general?!

This is more a general non-ascii problem, isn't it? --EmmaLaurijssens, Mon, 16 Oct 2006 02:04:22 -0700 reply
No, it's just thst it has got nothing to do with umlauts, they're nothing special in his case. I've created [TestpageForNonAscii-ş-ţ-č]? and it exhibits this behavior as well.

So, in order to enable all non-English users to search their wikis, we should fix this ASAP...

renamed issue to emphasize the real problem --StephanW, Mon, 16 Oct 2006 02:09:58 -0700 reply
Name: #1298 German Umlauts in page names are breaking search functionality => #1298 non-ascii characters in page names are breaking search functionality

Betabug --EmmaLaurijssens, Sun, 11 Feb 2007 09:38:57 -0800 reply
This looks reasonable...

Praises & Honors for Betabug... --swiesebach, Mon, 12 Feb 2007 00:45:22 -0800 reply
IMHO this will be a major milestone for intranet zwiki installations...

Hint for users of earlier zwiki installations: --swiesebach, Mon, 12 Feb 2007 01:39:59 -0800 reply
Tweaking the pageWithName(Title)-Thing works in earlier zwiki installations, too. Here you have to change the Zope/lib/python/Products/Zwiki/skins/standard/searchwikidtml.dtml file

yay --simon, Tue, 13 Feb 2007 12:06:52 -0800 reply
Thanks betabug! Applied your patch in the main repo, after clearing some recent zwiki.org mail server blockage.

in darcs --simon, Tue, 13 Feb 2007 12:08:39 -0800 reply

You can pull this from CodeRepos, but there is not yet release tarball scheduled to contain this. So perhaps the issue remains open until then.

in 0.59 --simon, Sun, 25 Mar 2007 02:05:07 +0000 reply
Status: open => closed