﻿id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release
5569,SubWiki link & SubMapTxt page,butterflow,anybody,"There are several nice features added to support [t:SubWiki SubWiki] in Trac to categorize simliar wiki pages in hierarchical tree structure however linking to [t:SubWiki SubWiki] from an arbitary Trac page can be really tedious if the level of depth become more than one.

If I have a [t:SubWiki SubWiki] page Page/SubPage/SubSubPage/SubSubSubPage and it should be explicitly specified using full path to the [t:SubWiki SubWiki] page.
{{{
[wiki:Page/SubPage/SubSubPage/SubSubSubPage]

or

[wiki:Page/SubPage/SubSubPage/SubSubSubPage ""This is SubSubSubPage""]

}}}

I can use InterWiki and InterMapTxt to create shortcuts to [t:SubWiki SubWiki] pages under Page/SubPage/SubSubPage/.

{{{
Define an entry in InterMapTxt
===
SubSubPage http://localhost/trac/wiki/Page/SubPage/SubSubPage/$1 # Categorized under SubSubPage

}}}

and then use it as shown below

{{{
SubSubPage/SubSubSubPage

or

[SubSubPage/SubSubSubPage ""This is SubSubSubPage""]

}}}

It worked almost but a problem is that it does not create internal Trac database update which means Trac does not know the relationship between pages. i.e. BackLinksMacro can not display the back link to [t:SubWiki SubWiki] page if InterWiki is used.

[t:SubWiki SubWiki] macro support simliar to InterWiki using customizable SubMapTxt (like InterMapTxt) will be of great use for those who using [t:SubWiki SubWiki] intensively to categorize simliar wiki pages.

This macro can possibly add /SubSubPage handler which can be utilzed in maintab or navtab to create direct access to categorized [t:SubWiki SubWiki] pages list from Trac menu. (Simliar to [HierWikiPlugin#SubWiki] mcaro)

",enhancement,new,normal,Request-a-Hack,normal,,,,0.11
