Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

#10141 closed defect (worksforme)

Hierarchical Wiki links work non-deterministic

Reported by: Nico Haase <haase@…> Owned by:
Priority: normal Milestone:
Component: wiki system Version: 0.12dev
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

If you add a wiki site with subfolders (A/B whereas A denotes a category and B a page within that categorys), links on page B will fail: if you add another level by setting a link to wiki:A/B/C, this will be linked to either wiki:A/A/B/C or wiki:A/B/C. Is this intended to work link that? See a demo at http://trac.edgewall.org/demo-0.12/wiki/Hierarchical/Link

Attachments (0)

Change History (1)

comment:1 by Remy Blank, 14 years ago

Resolution: worksforme
Status: newclosed

Yes, it's intentional. Relative wiki links in a sub-page link to a sibling page of the current page, i.e. at the same level. That means if you edit page A/B, and add a link like [wiki:C], it will link to page A/C.

It gets a bit confusing if you add a multi-element link in a sub-page. For example, if you are still editing page A/B, and you add a link [wiki:C/D], you get a link to A/C/D.

If you don't want this behavior, you can use absolute wiki links instead. Still on page A/B, a link [wiki:/A/B/C] will link to A/B/C.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.