Macro for listing sibling wiki pages


This plugin adds a [[SiblingNav]] wiki macro resulting in a listing of the wiki path leading to the current page and a list of sibling pages. This is only useful for a hierarchic wiki structure, e.g. Meetings/20080304 is a subpage of Meetings. This plugin does the right thing for both top pages and subpages.

The output is modeled after the standard trac navigation and some other plugins, i.e. it uses the wiki-toc class on the surrounding <div>, so it should show up as a familiar navigation pane.

See also my announcement blog post for the Sibling Nav plugin.


If you have any questions, issues or patches, please contact me via e-mail: uws+trackhacks@…. I don't read TracHacks tickets, sorry.

Download / Source

I don't use the Track Hacks SVN repository. The plugin is available from my Bazaar branch at You can bzr branch that url or just download the appropriate file to your plugin directory.


Simple usage for the current page: [[SiblingNav]]

For a navigation list for a different page prefix, use [[SiblingNav(PagePrefix)]].

Example output in ascii art for a bunch of pages in the Meetings/ hierarchy:



Author: WouterBolsterlee

Last modified 15 months ago Last modified on Jun 8, 2015, 3:57:56 PM