Various things for dealing with the wiki as a hierarchy

Description

Currently this is just the SubWiki and ParentWiki macros.

SubWiki

Inserts an alphabetic list of sub-wiki pages into the output. A sub-wiki page is a page that is is deeper in the hierachy than the current page. e.g. if the current page is People, the this will return a list of all wiki entries that start with "People/"

Accepts a prefix string as parameter: if provided, only pages with names that start with the prefix are included in the resulting list. If this parameter is omitted, all pages are listed.

This now takes the text of the first heading and displays it as the link name.

ParentWiki

Inserts a link to the "parent" wiki entry.

This only applies to wikis that have a "/" in their name indicating hierarchy.

e.g. an entry named Java/Introduction will have a parent of Java. All other wiki entries have a parent of WikiStart.

Note - Since changeset:4442, an alternative to the ParentWiki macro is to use the trac link [..]

Bugs/Feature Requests

Existing bugs and feature requests for HierWikiPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out HierWikiPlugin from here using Subversion, or browse the source with Trac.

Example

[[SubWiki(Projects/,1)]]
Go up: [[ParentWiki]]

Recent Changes

[3416] by coderanger on 03/25/08 07:39:08

Change my email to avoid Yahoo, which decided to brake my scraper script recently.

[1706] by coderanger on 12/17/06 16:58:46

HierWikiPlugin:

Restore old behvior of the SubWiki macro.

[1698] by coderanger on 12/16/06 15:20:17

HierWikiPlugin:

Fix escaping issues.

[1553] by coderanger on 11/13/06 14:17:33

HierWikiPlugin:

Minor glitch in the formatter.

Author/Contributors

Author: coderanger
Contributors: muness