Feature #1647
closed
No Anchor Support on Wiki pages
Added by ian dees over 16 years ago.
Updated about 16 years ago.
Description
I'd like to be able to use anchor links on a wiki page. For example, I'd like to be able to use the wiki pages for a Glossary type page, with A-Z links at the top, linking to sections below.
Files
This looks more like a feature request than it does a defect.
In case you haven't noticed, wiki pages already have limited anchors in them. the h1.
, h2.
, and then h3.
headings all create small anchors in the page. Unfortunately they're all numbered, and they don't have a fade-in paragraph symbol (like in the Trac wiki) to demonstrate that the anchors really do exist.
In Firefox, select a heading, right click and from the context menu choose View Selection Source
. You should see the HTML code for that specific heading. You'll notice it's also an <a name="1" class="wiki-page"></a> right before the rest of the text for the header. You can use that to link to various locations on the page. I do not remember the wiki syntax to link to a section inside of a page, but if I remember correctly there is some to do just that.
- Status changed from New to Closed
- Target version set to 0.8
- Affected version (unused) deleted (
0.7.3)
- Resolution set to Fixed
- Affected version deleted (
0.7.3)
r1705 adds Trac-like anchors on wiki pages (with text instead of a number). r1706 allows wiki links with anchor.
- Tracker changed from Defect to Feature
- Status changed from Closed to Reopened
- Assignee set to Jean-Philippe Lang
I don't see documented anywhere, how one goes about using the implemented anchors. Therefore I am reopening this issue and am proposing to document the new feature in order for it to become usable by Joe User.
If you feel this is inapropriate or the feature is allready documented then please close this bug again and forgive my offense.
In the case of the feature allready being documented, then please paste the URL into the note field so that interested parties can find the docu.
Thanks,
*t
Attached a docu patch.
The path comes in two parts. The first fixes the most bizarre formatting of the html file:
- replace all tabs by four spaces
- fix bizarre indenting
- replaces numeric codes by the respective ASCII characters, where apropriate
- remove superfluous CodeRay css definitions
The second part on top of the previous patch documents the new anchors syntax.
Please let me know if you don't want the formatting patch and want the docu patch only.
- Status changed from Reopened to Closed
Patch applies in r2015. Thanks.
- Related to Defect #28331: h4, h5 and h6 headings on wiki pages should have a paragraph mark added
Also available in: Atom
PDF