Edgewall Software

Opened 17 years ago

Last modified 9 years ago

#4492 new enhancement

Automatic backlinks for tickets based on document referer

Reported by: daniel.oconnor@… Owned by:
Priority: normal Milestone: unscheduled
Component: wiki system Version: 0.10.3
Severity: normal Keywords: xref
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


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 (0)

Change History (4)

comment:1 by Christian Boos, 17 years ago

Keywords: xref added
Milestone: 2.0
Owner: changed from Jonas Borgström to Christian Boos

Interesting, that would rank the back references from actual use of the forward references instead of the age of references.

A simple list of allowed URL patterns or referrers can prevent spam easily.

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.

  • pass the main WikiContext to the post-request filters, so that the plugin doesn't have to guess which resource was targeted
  • provide an extension point in the Cross-references view, so that additional types of cross-references (like Referrers) can be provided.

comment:2 by Christian Boos, 14 years ago

Milestone: 2.0unscheduled

Milestone 2.0 deleted

comment:3 by Christian Boos, 14 years ago

Milestone: triagingunscheduled

comment:4 by Ryan J Ollos, 9 years ago

Owner: Christian Boos removed

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.