[pmwiki-users] pagelist includes

Patrick R. Michaud pmichaud at pobox.com
Sat Jun 17 17:13:15 CDT 2006


On Sat, Jun 17, 2006 at 08:04:04PM +0100, Hans Bracker wrote:
> What is the maximum number of pages which can be included using
> pagelist with a fmt template which uses (:include {=$FullName}:) or
> (:include {=$FullName} lines=5:) for instance?
> And how can this number be increased? It seems that pagelist runs into
> trouble with 48 pages included.

PmWiki defaults to a maximum of 50 includes.  This is generally
to avoid infinite-loop sorts of cases.  The maximum can be
changed by setting $MaxIncludes to a larger value:

    $MaxIncludes = 1000000;

This is now added to the PmWiki.FAQ page.

Thanks,

Pm




More information about the pmwiki-users mailing list