Edgewall Software

Opened 14 years ago

Closed 13 years ago

#2541 closed task (fixed)

Anchors aren't described in TracLinks

Reported by: joe@… Owned by: Jonas Borgström
Priority: normal Milestone: 0.10
Component: wiki system Version: devel
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:


I'm trying to find out how to get in-page anchor type links to work in Trac. The TracLink page doesn't indicate how to do it, but I've seen pages on the project web site that appear to support it.

Is TracLink out of date?

Attachments (0)

Change History (9)

comment:1 by Bruce Christensen <trac@…>, 14 years ago

Owner: changed from Jonas Borgström to anonymous
Status: newassigned

Anchor markers appear when you hover the mouse over a line containing a heading. The anchor name is the smashed-together CamelCase version of the title, with everything but letters, digits, dots, dashes, and colons stripped from the string. (See http://projects.edgewall.com/trac/browser/trunk/trac/wiki/formatter.py?rev=2721#L396 for full details on how the anchors are constructed.) For example, the "Font Styles" section of the WikiFormatting page is located at http://projects.edgewall.com/trac/wiki/WikiFormatting#FontStyles, which you can link to from the wiki like this: WikiFormatting#FontStyles. Is this the documentation you were looking for, or is there something else?

comment:2 by Bruce Christensen <trac@…>, 14 years ago

Component: generalwiki
Priority: normallow
Severity: normalminor
Version: 0.9.2devel

comment:3 by anonymous, 14 years ago

Resolution: fixed
Status: assignedclosed

comment:4 by joe@…, 14 years ago

Priority: lownormal
Resolution: fixed
Severity: minornormal
Status: closedreopened

This ought to be documented in the TracLinks page, which is supposed to document all link conventions. (Compare with the link help page from moinmoin for example).

comment:5 by Christian Boos, 14 years ago

Keywords: helpwanted added
Type: defecttask

TracLinks is a wiki page, users are welcomed to add their contribution to the documentation!

comment:6 by sid, 13 years ago

The TracLinks page is currently set to read-only. If you change it, I'll update it.

comment:7 by Emmanuel Blot, 13 years ago

Owner: changed from anonymous to Jonas Borgström
Status: reopenednew

Removing the 'anonymous' owner

comment:8 by Christian Boos, 13 years ago

Keywords: helpwanted removed
Milestone: 0.10

That documentation rather belongs to WikiPageNames, but I added a link to it from TracLinks.

comment:9 by Christian Boos, 13 years ago

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Jonas Borgström.
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.