Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

#4396 closed defect (wontfix)

wiki links to pages that are not in the same hierarchy are rendered wrong

Reported by: ittayd@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.10.3
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

create a page foo/Bar (need to create foo first)

create a page zoo, in it, put either 'foo/Bar' or '[foo/Bar]'. in both cases, a link is rendered to 'foo': [<a class="wiki" href="/trac/wikifoo">foo</a>/Bar]

using foo/Bar works

Attachments (0)

Change History (6)

comment:1 by Christian Boos, 14 years ago

I assume that in the above description, "foo" should be an actual wiki page name, like TracDev (to take an example).

TracDev/Proposals (TracDev/Proposals) and ["TracDev/Proposals"] (TracDev/Proposals) are always rendered the same, irrelevant of where in the hierarchy the link is written (here, or within TracDev/Proposals/DataModel).

Maybe you're looking for relative links? Or more likely I didn't exactly understand the problem…

comment:2 by anonymous, 14 years ago

in my case, the name is 'foo' and it is an actual wiki page name. if the casing, or lack of two words causes misbehaviors in trac, then such pages should not be allowed to be created

comment:3 by anonymous, 14 years ago

moreover, if the page is one/two/Three, (one and one/two actual pages), then the link will be rendered as 'one/<a href="/trac/wiki/one/two">two</a>/Three'

comment:4 by Christian Boos, 14 years ago

Sorry, but what wiki content is rendered as: one/<a href="/trac/wiki/one/two">two</a>/Three?

Certainly not one/two/Three (one/two/Three), as it's not following WikiPageNames conventions.

Not [one/two/Three] either, it's not a valid TracLinks.

And the correct syntaxes for referring to such a page seem to work here:

[wiki:one/two/Three] one/two/Three
["one/two/Three"] one/two/Three

Maybe you're using some plugins which are interfering?

comment:5 by anonymous, 14 years ago

if the WikiPageNames are somehow inherently assumed in trac, then trac shouldn't allow me to create pages which are named differently (no capital letters).

and the links i use are without quotes (second table row in your comment)

comment:6 by Christian Boos, 14 years ago

Resolution: wontfix
Status: newclosed

Well, read again the WikiPageNames page, the conventions are clearly documented, as well as the syntax for creating non-conventional names, which are perfectly supported (and needed by lots of users).

What you're seeing here is an effect of one of your plugin (either th:HierWikiPlugin or th:AutoWikifyPlugin), so please contact its author or file a bug on TracHacks.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström 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.