Edgewall Software
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

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 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
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will be changed from cboos. Next status will be 'new'
The owner will be changed from cboos to anonymous. Next status will be 'assigned'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.