How to define parent and subpages in Trac?

I am very familiar with the Confluence wiki, and I really like the natural hierarchy of the pages that you got there. I have to use the Trac wiki now (which is not so bad, the same root as MoinMoin), and I'm looking for a function here. What I want to achieve:

  • Edit the "MyPage" page and enter there a link to the page you want a subpage, for example. MySubPage.
  • The link should look like /MySubPageor [/MySubPage]. The "/" symbol means that the resulting page should be a subpage of the current page.
  • Follow the link, create a new page with some content.

You should now see that "MySubPage" is a subpage of "MyPage". You can get to the subpage from anywhere via the MyPage / MySubPage link.

Wiki MoinMoin wiki have this feature at least from version 1.5.x, and I used it regularly. Is there something similar in Trac? Should I install the plugin?

Many thanks

Marcus

+1
source share
3 answers

The only way I found something like this is to specify the full path to the page. For your example, this will be [[MyPage / MySubPage]]. Then you get a hierarchy in TitleIndex, but that leaves much to be desired in terms of representing the parent / child relationship.

, , retracile, MyPage/MySubPage , , , TitleIndex , ( , , , ).

+2

, , , - .

 * SubpageFirst
 * SubpageSecond
 * SubpageThird
 * SubpageFourth

() , Index Index, :

 * Subpage
   * First
   * Second
   * Third
   * Fourth

, , .

+5

wiki-- Trac. , "/" .

, - , ; :

[[sub(MySubPage)]]
+2

All Articles