Opened 12 years ago

Last modified 12 years ago

#5569 new enhancement

SubWiki link & SubMapTxt page

Reported by: JaeWook Choi Owned by: anybody
Priority: normal Component: Request-a-Hack
Severity: normal Keywords:
Cc: Trac Release: 0.11


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.

If I have a SubWiki page Page/SubPage/SubSubPage/SubSubSubPage and it should be explicitly specified using full path to the SubWiki page.



[wiki:Page/SubPage/SubSubPage/SubSubSubPage "This is SubSubSubPage"]

I can use InterWiki and InterMapTxt to create shortcuts to 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 "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 SubWiki page if InterWiki is used.

SubWiki macro support simliar to InterWiki using customizable SubMapTxt (like InterMapTxt) will be of great use for those who using 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 SubWiki pages list from Trac menu. (Simliar to [HierWikiPlugin#SubWiki] mcaro)

Attachments (0)

Change History (1)

comment:1 Changed 12 years ago by anonymous

Error in usage of InterWiki example.

It can be used as



[SubSubPage:SubSubSubPage "This is SubSubSubPage"]

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain anybody.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.