[Pmwiki-users] Publishing a WikiTrail (or a WikiBook)

Patrick R. Michaud pmichaud
Tue Aug 5 01:50:03 CDT 2003


On Tue, Aug 05, 2003 at 09:26:34AM +1200, John Rankin wrote:
> Pm wrote:
> > Idea #1:  I can do something like this even without the '?' parsing--
> > basically if none of the pages in "wiki:page1 page2 page3" exist, then
> > it prints the contents of a $PrintWikiNotFoundFmt variable, and has
> > some $-substitution set to the name of the last page in the list.  By 
> > default $PrintWikiNotFoundFmt would be empty, which would keep the
> > current semantics.
> 
> ---
> That works for me! Yes, please. So I just write
>     $PublishList[] = "wiki:$pages[$i]";
> and set $PrintWikiNotFoundFmt. Cool!

Done, implemented in pmwiki-0.5.16.  However, I changed the variable
name to be $PrintWikiPageNotFoundFmt to match the function name more
closely.  :-)

Pm



More information about the pmwiki-users mailing list