[pmwiki-users] Re: Include bug or feature

chr at home.se chr at home.se
Wed Feb 2 15:50:50 CST 2005


On Wed, 2 Feb 2005, Patrick R. Michaud wrote:

> No, that's controlled by the $MaxIncludes variable.  I seem to recall
> it had something to do with dealing with invalid (:include:) syntax,
> as in:
> 
>    (:include !@$ lines=10:)
> 
> IIRC the problem is the conversion of the "!@$" in the above becomes
> the current page, which leads to bizarre things, and I was trying to
> avoid that without requiring the second argument to be a perfectly
> formatted pagename.

Eh.. why does '!@$' translate to the current page? Is it because the 
regexp evalues the match or something?

/Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr





More information about the pmwiki-users mailing list