[pmwiki-users] Re: (:include:) like <!--wiki:put_your_pagenames_here-->

Patrick R. Michaud pmichaud at pobox.com
Thu Aug 25 13:15:30 CDT 2005


On Sat, Aug 20, 2005 at 09:09:10AM +0100, Hans wrote:
> Saturday, August 20, 2005, 3:34:59 AM, Bronwyn wrote:
> > I played with it some more after fixing the spelling errors. and it
> > still has some strange problems, like not showing the included content
> > at all if on a sidebar page. 
> 
> This is a general behavior of the (:include:) markup:
> When you are on a page which is included with the markup, it does not
> include itself. This makes some sense because otherwise the page would
> mirror itself infinitely. Unfortunately it does apply in the use of
> the markup in the sidebar as well.

This is now fixed in beta55 -- it's now possible to (:include:) the
currently displayed page.  Any infinite recursions are caught by
the $MaxIncludes variable, which defaults to 50 total includes per
page request.

Pm




More information about the pmwiki-users mailing list