Project

General

Profile

Actions

Feature #1647

closed

No Anchor Support on Wiki pages

Added by ian dees over 16 years ago. Updated about 16 years ago.

Status:
Closed
Priority:
Normal
Category:
Wiki
Target version:
Start date:
2008-07-15
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

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

formating_fix.patch (18.7 KB) formating_fix.patch Formatting patch Tomas Pospisek, 2008-10-22 16:46
docu.patch (1.05 KB) docu.patch Docu patch Tomas Pospisek, 2008-10-22 16:46

Related issues

Related to Redmine - Defect #28331: h4, h5 and h6 headings on wiki pages should have a paragraph markClosedGo MAEDA

Actions
Actions #1

Updated by Chris Miller over 16 years ago

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.

Actions #2

Updated by Jean-Philippe Lang over 16 years ago

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

Actions #3

Updated by Jean-Philippe Lang over 16 years ago

  • Tracker changed from Defect to Feature
Actions #4

Updated by Tomas Pospisek about 16 years ago

  • 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

Actions #5

Updated by Tomas Pospisek about 16 years ago

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.

Actions #6

Updated by Jean-Philippe Lang about 16 years ago

  • Status changed from Reopened to Closed

Patch applies in r2015. Thanks.

Actions #7

Updated by Go MAEDA over 6 years ago

  • Related to Defect #28331: h4, h5 and h6 headings on wiki pages should have a paragraph mark added
Actions

Also available in: Atom PDF