[pmwiki-users] bug or an easter egg?

V.Krishn mistyfire at autograf.pl
Thu May 5 13:50:39 CDT 2005


On Thursday 05 May 2005 23:24, you wrote:
> On Thu, May 05, 2005 at 11:23:05PM +0530, V.Krishn wrote:
> > ok I found it all :-)
> >
> > Using beta23 and beta36,
> > I did some $SearchPatterns[] settings in config.php file.
> > I was able to exclude those pages in search and normal pagelist.
> >
> > But then in sandbox I did:
> > (:pagelist list=paparazzi:)
> > any word other than "normal"
> > OR just
> > (:pagelist list= :)
> > hit preview....
> > and Voila I could pagelist all excluded pages too.
>
> The list= parameter and $SearchPatterns[] were never designed to be a
Yup I guessed so.
> security/privacy feature, they're just a way of author-specifying
> the extent of the search output results.  As such, they can be
> overridden/replaced in the pagelist arguments.
>
> If you want to ensure that pages aren't listed, then set
> $EnablePageListProtect=1; and read-protect the pages.
>
> Or, maybe we can define a $SearchPatterns['always'] entry,
I did not know about this one....
Thanks a lot.
> that is always added to the list of $SearchPatterns regardless
> of the list= parameter specified.
I have just upgraded to beta 36 and I think its stable enough for productive 
use. The pagelisting does show some emprovement, though I have not tested it 
all.
Thanks again.
V.Krishn
>
> Pm



More information about the pmwiki-users mailing list