Modify

Opened 8 years ago

Closed 7 years ago

#12864 closed enhancement (worksforme)

Allow hacks to be listed on "type" pages

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Component: TracHacksPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

As an example, the page workflow is tagged with type. The heading is stripped from the wiki content on the page, and the body of the page is used as a category description in the ListHacks invocation, which can be seen on the NewHack page.

It would be nice to also list the hacks on the page tagged with type, like was done in workflow@6, but removed in workflow@7 due to the hacks being listed twice on the NewHack page. To avoid listing the hacks twice in the ListHacks macro output, ListHacks output will need to be stripped from the types page, in the same way the heading is stripped: trachacksplugin/trunk/trachacks/macros.py@15867:149-150#L145.

Attachments (1)

Screen Shot 2016-09-03 at 16.13.27.png (97.5 KB) - added by Ryan J Ollos 8 years ago.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by Ryan J Ollos

comment:1 Changed 8 years ago by Ryan J Ollos

The (sloppy) set of changes [15866:15870] fixed an issue with the heading being displayed because a heading without a trailing = was not being matched by the title_extract regex:

comment:2 Changed 8 years ago by Ryan J Ollos

Status: newaccepted

comment:3 Changed 7 years ago by Ryan J Ollos

Type: defectenhancement

comment:4 Changed 7 years ago by Ryan J Ollos

Resolution: worksforme
Status: acceptedclosed

This was effectively implemented already, we just needed to use the ListHacks macro, rather than the ListTagged macro.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
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.