martin f krafft wrote:
> Does ikiwiki have a way to find out whether a wikipage is actually
> a tag, or a regular wikipage? If $tagbase is set, that should be
> easy, if it's not set, maybe there's another way.
> 
> This wishlist bug is about viewing such wikipages. For instance,
> given a tag 'foo' and an associated wikipage $tagbase/foo, it would
> be really spiffy if ikiwiki would notice that it is compiling a tag
> page and use a different template.
> 
> This template would then render a regular, editable wikipage, which
> has a fixed header (or footer) similar to the output of
> 
>   [[map pages="link($tagbase/foo) or link($tagbase/foo/*)"]]
> 
> Thanks for your consideration.

It seems like what you want could be accomplished by some combination
of http://ikiwiki.info/todo/default_content_for_new_post/ and
http://ikiwiki.info/plugins/pagetemplate/

There's not currently a way to tell if a page is a tag page except for
lexical matching against the name (tag/*). The tag plugin doesn't
export its tag information to the rest of the wiki. 

I'm iffy about whether what you describe makes sense for wikis that use
more freeform tags, rather than keeping them all in tagbase. Just
because page A calls page B a tag doesn't necessarily mean that page B
wants to be rendered with a different template. That could be very
suprising in some situations.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to