Modify ↓
#6846 closed defect (fixed)
Plugin should ignore references that look like ticket numbers inside code blocks ({{{ #123 }}})
Reported by: | Artem Russakovskii | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | TracBacksPlugin |
Severity: | major | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
A bunch of our early tickets keep getting auto trackbacked because new tickets we file contain code blocks with stacktraces, such as
#0 0xffffe405 in __kernel_vsyscall () #1 0x00a4bd80 in raise () from /lib/libc.so.6 #2 0x00a4d7de in abort () from /lib/libc.so.6 #3 0x00a451fb in __assert_fail () from /lib/libc.so.6 ... etc
The plugin should ignore references like these that come from code blocks.
Attachments (1)
Change History (7)
comment:1 Changed 15 years ago by
Summary: | Plugin should ignore reference that look like ticket numbers inside code blocks ({{{ #123 }}}) → Plugin should ignore references that look like ticket numbers inside code blocks ({{{ #123 }}}) |
---|
comment:2 Changed 14 years ago by
Owner: | changed from Mel Chua to Ryan J Ollos |
---|
Changed 14 years ago by
Attachment: | code_block_patch.patch added |
---|
patch to exclude code blocks from backlinks
comment:4 Changed 14 years ago by
I attached a patch that *should* work to exclude any tickets in a code block. It works when I run it through a test here: http://www.pythonregex.com/
comment:5 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 Changed 14 years ago by
Went ahead and applied the patch, but I don't use this plugin anymore, so haven't tested it out. Please let me know if you find any issues.
Note: See
TracTickets for help on using
tickets.
Reassigning to new maintainer.