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)
Change History (5)
Changed 8 years ago by
Attachment: | Screen Shot 2016-09-03 at 16.13.27.png added |
---|
comment:1 Changed 8 years ago by
comment:2 Changed 8 years ago by
Status: | new → accepted |
---|
comment:3 Changed 8 years ago by
Type: | defect → enhancement |
---|
comment:4 Changed 7 years ago by
Resolution: | → worksforme |
---|---|
Status: | accepted → closed |
This was effectively implemented already, we just needed to use the ListHacks
macro, rather than the ListTagged
macro.
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 thetitle_extract
regex: