Edgewall Software
Modify

Ticket #611 (reopened enhancement)

Opened 8 years ago

Last modified 20 months ago

Backlinks

Reported by: siegfried@… Owned by: cboos
Priority: normal Milestone: next-major-0.1X
Component: wiki system Version: 0.7.1
Severity: major Keywords: xref link backlink wiki
Cc: robert.pollak@…, number5@…, rsalveti@…, pphaneuf@…, martin.marcher@…, naesten@…, linuxadmin@…
Release Notes:
API 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

Change History

comment:1 Changed 7 years ago by anonymous

See also #646

comment:2 Changed 7 years ago by yoz@…

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 Changed 7 years ago by danhon@…

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

comment:4 Changed 7 years ago by anonymous

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 Changed 7 years ago by cboos

  • Milestone set to 0.9
  • Owner changed from jonas to cboos
  • Priority changed from low to normal
  • Status changed from new to assigned

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

comment:6 Changed 7 years ago by cmlenz

  • Milestone changed from 0.9 to 1.0

Postponed to 1.0.

comment:7 Changed 7 years ago by robert.pollak@…

  • Cc robert.pollak@… added

comment:8 Changed 7 years ago by Jan Finell

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 Changed 6 years ago by cboos

  • Keywords xref added

comment:10 Changed 6 years ago by anonymous

  • Cc number5@… added

comment:11 Changed 6 years ago by anonymous

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:12 Changed 6 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:13 Changed 6 years ago by anonymous

  • Cc rsalveti@… added

comment:14 Changed 5 years ago by anonymous

  • Cc pphaneuf@… added

comment:15 Changed 5 years ago by ThurnerRupert

#5505 marked as duplicated.

comment:16 Changed 5 years ago by anonymous

  • Cc martin.marcher@… added

comment:17 Changed 5 years ago by anonymous

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

comment:18 Changed 4 years ago by naesten@…

  • Cc naesten@… added

comment:19 follow-up: Changed 4 years ago by Ivan G Shevchenko <linuxadmin@…>

  • 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...)

comment:20 in reply to: ↑ 19 Changed 4 years ago by nkantrowitz

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 Changed 4 years ago by anonymous

+1

comment:22 Changed 22 months ago by cboos

  • Milestone changed from 1.0 to unscheduled

Milestone 1.0 deleted

comment:23 Changed 20 months ago by cboos

  • Milestone changed from triaging to next-major-0.1X
  • Severity changed from normal to major
View

Add a comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.