[dokuwiki] Re: Hiding namespaces

On Thu, 27 Apr 2006 13:29:08 -0500
"Martin Tschofen" <martin.tschofen@xxxxxxxxx> wrote:

> My regex pattern is 'ia_*'. I have some pages that start with 'ia_' as
> well as some namespaces that start with 'ia_'.

Which is probably not the pattern you want. ':ia_.*' is probably what
you are looking for. We're using Perl regexps here not shell style glob
patterns.

> 
> the search_index function contains:
> 
>   //check hidden
>   if($type=='f' && isHiddenPage($id)){
>     return false;
>   }
> 
> Type 'f' indicates that it only applies it to files and skips over
> namespaces itself, right?

hmm right... there may have been a reason for that type check but I
can't remember it currently. Try removing it and see what happens ;-)

Andi

Other related posts: