Modify ↓
Ticket #4492 (new enhancement)
Opened 5 years ago
Last modified 20 months ago
Automatic backlinks for tickets based on document referer
| Reported by: | daniel.oconnor@… | Owned by: | cboos |
|---|---|---|---|
| Priority: | normal | Milestone: | unscheduled |
| Component: | wiki system | Version: | 0.10.3 |
| Severity: | normal | Keywords: | xref |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
This is distinct from TracCrossReferences (similar to BackLinks (#611)); but solves a similar problem.
- Every view of a ticket records the referring URL; and increments the count for number of referrals.
- The ticket page shows the number of referrers as a 'pages and tickets which mention this ticket' widget
A simple list of allowed URL patterns or referrers can prevent spam easily.
The benefit of this approach is to organically strengthen the relationship between tickets, rather than rely on explicit macros. Garbage collection could be optionally included; so that links dissolve over time.
Attachments
Change History
comment:1 Changed 5 years ago by cboos
- Keywords xref added
- Milestone set to 2.0
- Owner changed from jonas to cboos
comment:2 Changed 22 months ago by cboos
- Milestone changed from 2.0 to unscheduled
Milestone 2.0 deleted
comment:3 Changed 20 months ago by cboos
- Milestone changed from triaging to unscheduled
Note: See
TracTickets for help on using
tickets.



Interesting, that would rank the back references from actual use of the forward references instead of the age of references.
If the allowed URLs are local ones, as the rest of your description suggests, this shouldn't be needed. But then, I see more value in your suggestion if the page would list any referrers, not just those from the local Trac.
This can be implemented by a plugin, but there are probably a few things that could be done in Trac to ease the implementation of such a plugin, e.g.