Modify ↓
#50 closed defect (fixed)
Default behavior incorrect.
| Reported by: | Owned by: | Alec Thomas | |
|---|---|---|---|
| Priority: | normal | Component: | TocMacro |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.8 |
Description
I just grabbed the svn version using:
svn checkout http://trac-hacks.swapoff.org/svn/tocmacro
I assume that's the same version as on the TocMacro wiki page.
When i installed it, and added the (bracketbracket)TOC(bracketbracket) macro to the page, i got the TOC for the WikiStart page, not the current page.
The Wiki says:
If no arguments are given, a table of contents is generated for the current page, with the top-level title stripped:
One behavior is wrong, Personally i prefer the current page to be shown.
Attachments (1)
Change History (5)
Changed 20 years ago by
| Attachment: | TOC.py.diff.txt added |
|---|
comment:1 Changed 20 years ago by
| version: | stable → trunk |
|---|
Also noted that preview doesn't work with page_name, although probably another more complicated issue. (Just learning trac code still)
comment:2 Changed 20 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:3 Changed 17 years ago by
| Component: | TocMacro → TimelineRssAuthorPatch |
|---|---|
| Trac Release: | → 0.8 |
comment:4 Changed 17 years ago by
| Component: | TimelineRssAuthorPatch → TocMacro |
|---|
Note: See
TracTickets for help on using
tickets.



patch to fix current page problem