Opened 9 years ago

Closed 9 years ago

Last modified 6 years ago

#50 closed defect (fixed)

Default behavior incorrect.

Reported by: halkeye@… Owned by: athomas
Priority: normal Component: TocMacro
Severity: normal Keywords:
Cc: Trac Release: 0.8


I just grabbed the svn version using:

svn checkout

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) (447 bytes) - added by halkeye@… 9 years ago.
patch to fix current page problem

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by halkeye@…

patch to fix current page problem

comment:1 Changed 9 years ago by halkeye@…

  • version changed from stable to 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 9 years ago by athomas

  • Resolution set to fixed
  • Status changed from new to closed

(In [111])

  • First version of TocMacro for trunk
  • Fix for finding current page, closes #50
  • Fix for anchor escaping, closes #23

comment:3 Changed 6 years ago by anonymous

  • Component changed from TocMacro to TimelineRssAuthorPatch
  • Trac Release set to 0.8

comment:4 Changed 6 years ago by anonymous

  • Component changed from TimelineRssAuthorPatch to TocMacro

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from athomas. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.