On Fri, 25 Aug 2006 15:35:12 +0100 Chris Smith <chris@xxxxxxxxxxxxx> wrote: > My quick check suggests only cleaned IDs get written to the search > index. Is that a safe assumption? Yes. This should be safe as long as the index is built by DokuWiki's methods. > If so, I propose extending wikiFN with a third parameter, $clean, > which defaults to true. Messy perhaps, but it would allow some calls > to wikiFN with known clean IDs (like idx_parseIndexLine) to skip the > cleaning step. I think this is a good idea. We should carefully check if we can make use of this at other places. However if in doubt we should keep the cleaning. Andi