Opened 15 years ago
Last modified 14 years ago
#8526 new enhancement
SubWiki link & SubMapTxt page
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | next-major-releases |
Component: | wiki system | Version: | 0.12dev |
Severity: | normal | Keywords: | interwiki |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
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] or [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 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.
SubWiki macro support simliar to InterWiki using customizable SubMapTxt (like InterMapTxt) would 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)
I created a Requset-a-Hack ticket #5569 in Trak-Hacks site as well.
Attachments (0)
Change History (4)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Keywords: | interwiki added |
---|---|
Milestone: | → 2.0 |
Version: | none → 0.12dev |
Interesting idea.
I'd rather keep using InterMapTxt but allow the use of wiki: prefix in the target, instead of a full URL.
Error in usage of InterWiki example.
It can be used as