[pmwiki-users] Pagelists not seeing categories in certain conditionals

Petko Yotov 5ko at 5ko.fr
Mon Jul 5 17:57:01 CDT 2010


On Monday 05 July 2010 23:16:47, Randy Brown wrote :
> I notice that when I put on a page a category link that is hidden by (:if
>  false:), I can see the page in pagelists such as (:pagelist fmt=simple
>  link=Category.MyCategory:). However, if I change the conditional to (:if1
>  false:) the page disappears from the list.
> 
> Is this the expected behavior or a bug?

Yes, conditionals, includes, pagelists and redirects are ignored on saving a 
page, when the link targets are indexed. The "nested" conditionals were added 
later, but the indexing part wasn't updated -- it will be fixed for the next 
release.

Thanks,
Petko



More information about the pmwiki-users mailing list