Edgewall Software
Modify

Opened 20 years ago

Last modified 9 months ago

#611 new enhancement

Backlinks

Reported by: siegfried@… Owned by:
Priority: normal Milestone: next-major-releases
Component: wiki system Version: 0.7.1
Severity: major Keywords: xref link backlink wiki
Cc: robert.pollak@…, number5@…, rsalveti@…, pphaneuf@…, martin.marcher@…, naesten@…, linuxadmin@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

A nice feature would be automatic backlink generation for wikipages.

if there is intrest in this sugested enhancement i would like to contribute in coding this feature (wih a little guidance)

keep up the good work!

Attachments (0)

Change History (28)

comment:1 by anonymous, 20 years ago

See also #646

comment:2 by yoz@…, 20 years ago

I'd like to register my interest in this as a user - we've only just installed Trac and already our users want this feature! If you can provide it, it would be seriously appreciated.

comment:3 by danhon@…, 20 years ago

Hello - I've put up a rudimentary BackLinks macro at the MacroBazaar.

comment:4 by anonymous, 20 years ago

In Trac, (a subset of) the BackLinks should be displayed by default in conjunction with a ticket or change set. This would be better than explicitly including a list of BackLinks with a macro (or requesting BackLinks via a search form).

Candidates for automatically displayed BackLinks are:

  • All other tickets referencing some ticket.
  • All change sets referencing some ticket.
  • All tickets referencing some change set.
  • All change sets referencing another change set.

comment:5 by Christian Boos, 20 years ago

Milestone: 0.9
Owner: changed from Jonas Borgström to Christian Boos
Priority: lownormal
Status: newassigned

Actually, the suggested automatically displayed BackLinks are available by the way of TracCrossReferences.

comment:6 by Christopher Lenz, 20 years ago

Milestone: 0.91.0

Postponed to 1.0.

comment:7 by robert.pollak@…, 19 years ago

Cc: robert.pollak@… added

comment:8 by Jan Finell, 19 years ago

I hacked in a "automatic" back links feature using the BackLinks macro found in the MacroBazaar.

First I created a "BackLinks" wiki page with just simply the following code:

[[BackLinks()]]

Then I modified the BackLinks macro a bit:

13c13,14
<
---
>         if thispage == 'BackLinks':
>             thispage = hdf.getValue('args.referer', thispage)

And finally I added this line to the ctxtnav section of wiki.cs template:

<li><a href="<?cs var:$trac.href.wiki ?>/BackLinks?referer=<?cs var:$wiki.page_name ?>">Back Links</a></li>

This will add a "Back Links" link to the top navigation bar of all wiki pages and clicking that link will show a new page with all BackLinks to the page.

comment:9 by Christian Boos, 19 years ago

Keywords: xref added

comment:10 by anonymous, 19 years ago

Cc: number5@… added

comment:11 by anonymous, 19 years ago

Resolution: fixed
Status: assignedclosed

comment:12 by anonymous, 19 years ago

Resolution: fixed
Status: closedreopened

comment:13 by anonymous, 18 years ago

Cc: rsalveti@… added

comment:14 by anonymous, 18 years ago

Cc: pphaneuf@… added

comment:15 by ThurnerRupert, 17 years ago

#5505 marked as duplicated.

comment:16 by anonymous, 17 years ago

Cc: martin.marcher@… added

comment:17 by anonymous, 17 years ago

Cc: martin.marcher@… added; martin.marcher@… removed
  • Put in the wrong Mail Address
  • Just changed my own :)

comment:18 by naesten@…, 17 years ago

Cc: naesten@… added

comment:19 by Ivan G Shevchenko <linuxadmin@…>, 16 years ago

Cc: linuxadmin@… added
Keywords: link backlink wiki added

sorry for "question-spamming", but why postpone this (as far as i can judge) near-trivial feature?

when to expect 1.0? 3 years from now? (if one looks at the roadmap of completed milestones…)

in reply to:  19 comment:20 by Noah Kantrowitz, 16 years ago

Replying to Ivan G Shevchenko <linuxadmin@yandex.ru>:

sorry for "question-spamming", but why postpone this (as far as i can judge) near-trivial feature?

It is far from trivial. If you disagree, please feel free to contribute a patch.

when to expect 1.0? 3 years from now? (if one looks at the roadmap of completed milestones…)

comment:21 by anonymous, 16 years ago

+1

comment:22 by Christian Boos, 15 years ago

Milestone: 1.0unscheduled

Milestone 1.0 deleted

comment:23 by Christian Boos, 14 years ago

Milestone: triagingnext-major-0.1X
Severity: normalmajor

comment:24 by anonymous, 12 years ago

This feature will be appreciated. Backlinks in wiki pages are convenient for navigation.

comment:25 by d.ziegenberg@…, 11 years ago

This ticket was opend 10 years ago. Is there a planned release date or is this never going to happen. Well, in the second case, please close with "won't fix" so people know what to expect.

in reply to:  25 comment:26 by Christian Boos, 11 years ago

Replying to d.ziegenberg@…:

This ticket was opend 10 years ago. Is there a planned release date or is this never going to happen. Well, in the second case, please close with "won't fix" so people know what to expect.

As I'm sure we're going to see more of this kind of question, here's a generic answer: ThisTicketWasOpenedTenYearsAgo ;-)

comment:27 by Ryan J Ollos, 10 years ago

Owner: Christian Boos removed
Status: reopenednew

comment:28 by Cinc-th, 4 years ago

th:TracBackLinkPlugin implements the feature requested in this ticket and some more.

The plugin supports:

  • Wiki pages
  • Tickets
  • Changesets
  • Milestones

I'm not the author.

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.