[pmwiki-users] Problem wih Include Directives

Kathryn Andersen kat_lists at katspace.homelinux.org
Sat Jun 17 00:34:56 CDT 2006


On Fri, Jun 16, 2006 at 09:49:11PM -0500, Patrick R. Michaud wrote:
> On Sat, Jun 17, 2006 at 09:40:49AM +1000, Kathryn Andersen wrote:
> > On Fri, Jun 16, 2006 at 11:14:56PM +0200, Dominique Faure wrote:
> > > I would prefer {==$Title} since there is no "previous" nor "next"
> > > notions implied in includes contrary to pagelists or trails.
> > 
> > Well, I don't like {==$Title} so much because it's too similar to
> > {=$Title}, and an opportunity for typos.  On the other hand, it could
> > build on the {=$Title} idea, meaning "The currently included page's
> > value" just as in pagelist {=$Title} means "The currently listed page's
> > value".
> 
> There's an inherent collision if we use {=$Title} to mean
> "name of the included page", because the way that pagelist
> templates are obtained is by using the same code that handles
> the (:include:) markup.  So, there'd be a conflict in wondering
> if {=$Title} is being used to refer to the current page in the
> pagelist, or the name of the (included) page containing the pagelist
> template.
> 
> It could be worked around, yes, but I think I'd prefer to keep
> the two uses entirely separate and have separate markups for them.

Oh, you misunderstand me -- I think having {=$Title} would be even worse
than {==$Title}.  I totally agree that would be even more confusing, and
not a good idea at all.
 
Kathryn Andersen
-- 
 _--_|\     | Kathryn Andersen	<http://www.katspace.com>
/      \    | 
\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
      v     | 
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |	-> Earth -> Sol -> Milky Way Galaxy -> Universe




More information about the pmwiki-users mailing list