[dokuwiki] Re: Hiding namespaces
- From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Thu, 27 Apr 2006 22:35:34 +0200
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
- Follow-Ups:
- [dokuwiki] Re: Hiding namespaces
- From: Martin Tschofen
- References:
- [dokuwiki] Hiding namespaces
- From: Martin Tschofen
- [dokuwiki] Re: Hiding namespaces
- From: Terence J. Grant
- [dokuwiki] Re: Hiding namespaces
- From: Martin Tschofen
- [dokuwiki] Re: Hiding namespaces
- From: Chris Smith
- [dokuwiki] Re: Hiding namespaces
- From: Martin Tschofen
- [dokuwiki] Re: Hiding namespaces
- From: Julian Monteiro
- [dokuwiki] Re: Hiding namespaces
- From: Martin Tschofen
- [dokuwiki] Re: Hiding namespaces
- From: Andreas Gohr
- [dokuwiki] Re: Hiding namespaces
- From: Martin Tschofen
Other related posts:
- » [dokuwiki] Hiding namespaces
- » [dokuwiki] Re: Hiding namespaces
- » [dokuwiki] Re: Hiding namespaces
- » [dokuwiki] Re: Hiding namespaces
- » [dokuwiki] Re: Hiding namespaces
- » [dokuwiki] Re: Hiding namespaces
- » [dokuwiki] Re: Hiding namespaces
- » [dokuwiki] Re: Hiding namespaces
- » [dokuwiki] Re: Hiding namespaces
- » [dokuwiki] Re: Hiding namespaces
- » [dokuwiki] Re: Hiding namespaces
- » [dokuwiki] Re: Hiding namespaces
- » [dokuwiki] Re: Hiding namespaces
- [dokuwiki] Re: Hiding namespaces
- From: Martin Tschofen
- [dokuwiki] Hiding namespaces
- From: Martin Tschofen
- [dokuwiki] Re: Hiding namespaces
- From: Terence J. Grant
- [dokuwiki] Re: Hiding namespaces
- From: Martin Tschofen
- [dokuwiki] Re: Hiding namespaces
- From: Chris Smith
- [dokuwiki] Re: Hiding namespaces
- From: Martin Tschofen
- [dokuwiki] Re: Hiding namespaces
- From: Julian Monteiro
- [dokuwiki] Re: Hiding namespaces
- From: Martin Tschofen
- [dokuwiki] Re: Hiding namespaces
- From: Andreas Gohr
- [dokuwiki] Re: Hiding namespaces
- From: Martin Tschofen