1. Description

TableOfContents is broken when is included from other pages.

Example:

<<Include(/TableOfContents)>>

Should show something like (besides included text page) a TableOfContents modified with the headlines of this page (with Description and discussion headline), but it shows only the headlines of his page:


Include starts

2. Page Included Hello

3. Page Included World

4. Page Included Hello2

5. Page Included World2

Include Ends


6. Discussion

This is not a bug in my eyes, but intended behaviour. You can do a TableOfContents on this page to get what you want. However:

  1. TableOfContents of this page seems to be broken: All the links to the headings of the included page seem to be wrong and are not working: link 1,6 work; link 2,3,4,5 not. The links work fine in the included TOC.

  2. When enumaration is turned on, the included TOC looks a little bit silly: The link "1. Page Included Hello" in the TOC actually links to "2. Page Included Hello". This is quite confusing.

Please use the given page template for bug reports next time. If this is not a bug, and the two points mentioned in the dicussion above are bugs, this bug report should be closed and two new bug reports should be filed.


CategoryMoinMoinBug CategoryForMoin2

MoinMoin: MoinMoinBugs/TableOfContentsBronkenIfIsInIncludePage (last edited 2010-01-12 14:08:46 by PascalVolk)