Modify

Opened 18 years ago

Closed 17 years ago

#1152 closed defect (fixed)

A macro for "what links here"

Reported by: anonymous Owned by: anybody
Priority: normal Component: Request-a-Hack
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

Maybe I'm mad but I don't think a "what links here" option has been implemented either as a patch or a plugin.

It would expand to contain a list of wiki objects (including tickets) that link to it.

Attachments (0)

Change History (5)

comment:1 Changed 18 years ago by Gregory Burd <gburd@…>

The query is: select name n from wiki where text like '%ThisWiki'sPageName%' and version = (select max(version) from wiki where name = n);

Now, where to put it in the code... that I don't know, yet.

comment:2 in reply to:  1 Changed 18 years ago by anonymous

Replying to "Gregory Burd" <gburd@ossus.com>:

The query is: select name n from wiki where text like '%ThisWiki'sPageName%' and version = (select max(version) from wiki where name = n);

Now, where to put it in the code... that I don't know, yet.

please tell me when you found out..itayh@…

comment:3 Changed 18 years ago by anonymous

There's a macro called BackLinks that does this, I think.

comment:4 Changed 17 years ago by bwiese@…

For every wiki I've ever used in my life (quite a few), there has always been a "back links" or "what links here" link. Why is this not available in Trac wiki?

I understand this is the Trac Hacks website - but why hasn't this been communicated? How do people edit/rename pages and prevent broken links w/o knowing what pages link to a given page?

comment:5 Changed 17 years ago by Trap

Resolution: fixed
Status: newclosed

A macro made by me is available here:

BackLinks 5.0

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain anybody.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.