The UnfoldSubpages WikiPlugin is used to display all or some subpages of the current or a given page. This gives a overview for a WikiBlogPlugin, CalendarPlugin or similar subpages.

Warning: Don't use it with subpages where the RedirectToPlugin is used or with non-existant sections! The section extractor is currently quite unstable.

Usage:

     <?plugin UnfoldSubpages ?>
  or <?plugin UnfoldSubpages sortby=-mtime words=50 maxpages=5 ?>
  or <?plugin UnfoldSubpages quiet=1 smalltitle=1 ?>
  or <?plugin UnfoldSubpages sections=2 words=100 ?>
  or <?plugin UnfoldSubpages lines=3 ?>
  or <?plugin UnfoldSubpages pagename="PhpWikiAdministration"
              section="Plugin Arguments" sectionhead=1 ?>

Plugin Arguments:

pagename
Any pagename or if empty the current page. Default: ""
quiet
Print no header. Default: false
sortby
Sort by + (ASC) or - (DESC) and one column. Multiple columns like sortby="-hits,-mtime" not yet supported. Supported columns: [+|-]pagename, [+|-]mtime, [+|-]hits. Default: "pagename"
maxpages
Maximum number of pages to include or all if not defined. Default: false
sections
Maximum number of sections per page to include or all if not defined. Default: false
section
Include this named section per page only if defined. Default: ""
sectionhead
When including a named section show the heading. Default: false
smalltitle
If set, hide transclusion-title, just have a small link at the start of the page. Default: false
words
Maximum number of words per page to include. Default: false
lines
Maximum number of lines per page to include. Default: false
bytes
Maximum number of bytes per page to include. Default: false

Deprecated Arguments:

pages
deprecated. renamed to maxpages.
sort
'asc' or 'desc'. deprecated: use "+" or "-" before the column name with sortby.

Example:

Included from PhpWikiAdministration/Chmod:

Plugin WikiAdminChmod disabled. WikiAdminChmod not yet enabled. Set DEBUG to try it.
<?plugin WikiAdminChmod ?>

Included from PhpWikiAdministration/Remove:


Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4104 bytes) in /srv/phpwiki/lib/WikiDB/backend/PearDB.php on line 763