Opened 10 years ago

Closed 23 months ago

Last modified 23 months ago

#2033 closed enhancement (wontfix)

Let SubWiki Create Nested Unordered-Lists

Reported by: peter.koerner@… Owned by:
Priority: high Component: HierWikiPlugin
Severity: normal Keywords:
Cc: peter.koerner@… Trac Release: 0.10


Hi I use SubWiki for generating Indexes of my Documentation. I didn't like the way all pages were printeted in a plain list so I searched for some kind of nested index. I didn't find anything like that for the Trac-Wiki ans so I bite the bullet and wrote a recursing function that iterates over the pages-tree and generates a nested view of the pages' subsites. Thiw is the first time I touched python, so please be patient with my coding style ;) Unfortunately I changed the indenting of the original file to one tab per indent, so it's hard to get a good diff of it. I attached the whole so maybe someone could have a look at it.

Attachments (2) (3.0 KB) - added by peter.koerner@… 10 years ago.
Let Subwiki Create Nested Unordered Lists
hierwikiplugin.diff (4.6 KB) - added by anonymous 9 years ago.

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by peter.koerner@…

Attachment: added

Let Subwiki Create Nested Unordered Lists

comment:1 Changed 9 years ago by jeff@…

Priority: normalhigh

This patch should definitely be applied -- it's well worth it, thanks!

I'm going to add a link to this buy on the HierWiki plugin page since this is the way the list *should* be generated.

Changed 9 years ago by anonymous

Attachment: hierwikiplugin.diff added

comment:2 Changed 9 years ago by anonymous

I have enhanced further to produce different output style with 3rd paramter. The attachment:hierwikiplugin.diff contains the change so it should now be easier to merge. But I only did 0.10 version.

Here is the meaning of the style parameter:

  [wiki:ParentPage/SubPage ParentPage/SubPage] Page Name

  [wiki:ParentPage/SubPage SubPage] Page Name

  [wiki:ParentPage/SubPage Page Name]

  [wiki:ParentPage/SubPage ParentPage/SubPage]

  [wiki:ParentPage/SubPage SubPage]
Last edited 23 months ago by Ryan J Ollos (previous) (diff)

comment:3 Changed 2 years ago by Ryan J Ollos

Owner: Noah Kantrowitz deleted

comment:4 Changed 23 months ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

The plugin is deprecated since Trac has equivalent functionality as of trac:milestone:1.1.2. If you find any missing function please open a ticket for Trac.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

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

Note: See TracTickets for help on using tickets.