[pmwiki-users] the new FAQ-o-matic (was: Re: Deny viewing the history)

Patrick R. Michaud pmichaud at pobox.com
Mon Mar 13 12:18:38 CST 2006

On Mon, Mar 13, 2006 at 10:26:41AM -0700, Pico wrote:
> > So, for this to work, we need to add a FAQ section at the end of a
> > documentation page that begins with the following markup:
> > >>faq<< [[#faq]]
> > 
> > And it will automatically be included in the FAQ page, which ends with
> > the following pagelist:
> > 
> > (:pagelist trail=PmWiki.DocumentationIndex "[[#faq]]" fmt=#includefaq:)
> I just tried to test this (on the AccessKeys page) and couldn't get the
> results to show up in the FAQ page, even when I moved the new FAQ
> markup down to the end of the page .
> Is server caching preventing the immediaate update?

The automatic-listing-of-faq only scans page that are in
the DocumentationIndex.  So, since the AccessKeys page isn't
listed in the DocumentationIndex (yet?), any questions placed
there won't appear.

We can either add the AccessKeys to the DocumentationIndex, or
change the FAQ page to search the entire PmWiki.* group instead
of just the DocumentationIndex trail.  I think I prefer to use
the trail, since it will automatically order the questions in
a somewhat logical sequence (i.e., the same sequence as the trail).


More information about the pmwiki-users mailing list