SubWiki link & SubMapTxt page
|Reported by:||Owned by:|
There are several nice features added to support SubWiki in Trac to categorize simliar wiki pages in hierarchical tree structure however linking to SubWiki from an arbitary Trac page can be really tedious if the level of depth become more than one.
[wiki:Page/SubPage/SubSubPage/SubSubSubPage] or [wiki:Page/SubPage/SubSubPage/SubSubSubPage "This is SubSubSubPage"]
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 (as it is treated as external link) which means Trac does not know the relationship between pages. i.e. BackLinksMacro can not display the back link to SubWiki page if InterWiki is used.
This macro can possibly add /SubSubPage handler which can be utilzed in maintab or navtab to create direct access to categorized SubWiki pages list from Trac menu. (Simliar to HierWikiPlugin#SubWiki mcaro)
I created a Requset-a-Hack ticket #5569 in Trak-Hacks site as well.