[pmwiki-users] New recipe: PTVInclude
Patrick R. Michaud
pmichaud at pobox.com
Tue Apr 17 10:28:08 CDT 2007
On Tue, Apr 17, 2007 at 05:17:00PM +0200, christian.ridderstrom at gmail.com wrote:
> On Tue, 17 Apr 2007, Patrick R. Michaud wrote:
>
> > (:include SomeOtherPage basepage='' :)
> > -or-
> > (:include SomeOtherPage basepage={*$FullName} :)
>
> The new parameter 'basepage' seems cool. Looking at the second example
> above, I had a thought though. If spaces are ever allowed in page names,
> how would that mess with something like
>
> (:include SomeOtherPage basepage={*$FullName} :)
I don't know yet. However, it's likely that {*$FullName}
will end up being something that can safely be used unquoted.
I don't know that the same will be true for {$Name} or {$Group}...
I'm still working out the details on that.
> Put differently. Does it make sense to recommend people to do
>
> (:include SomeOtherPage basepage='{*$FullName}' :)
This would definitely be safe(r?), but I don't know that it's something
we need to be actively warning people about just yet.
Thanks!
Pm
More information about the pmwiki-users
mailing list