Edgewall Software
Modify

Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#7695 closed defect (fixed)

Omitting the prefix "wiki:" doesn't work with quoted links when an alternative link text is provided

Reported by: sebastian@… Owned by: Remy Blank
Priority: normal Milestone: 0.12
Component: wiki system Version: 0.11.1
Severity: normal Keywords: internal free link
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Omitting the prefix "wiki:" doesn't work with quoted links when an alternative link text is provided. For example the following works:

[wiki:"Quoted Wiki Page" This is a quoted wiki page]
["Quoted Wiki Page"]
[QuotedWikiPage This is another wiki page]

But the following (omitting "wiki:") doesn't work (as expected):

["Quoted Wiki Page" This is a quoted wiki page]
["TracGuide" Not even when no spaces are used]

Displays as:

And should be displayed as:

Attachments (0)

Change History (8)

comment:1 by Christian Boos, 16 years ago

Component: renderingwiki system
Milestone: 0.12
Owner: set to Christian Boos

Yes, I've noticed that myself some times after implementing the MoinMoin's "internal free links" syntax. I'm not sure if "internal free links with labels" are supported in MoinMoin, but the suggested syntax looks consistent.

Btw, is it only me or has the MoinMoin's wiki syntax for links been overhauled to be more Creole-style? (MoinMoin:HelpOnLinking)

comment:2 by Remy Blank, 15 years ago

Milestone: 0.12next-minor-0.12.x

Not a blocker for 0.12.

comment:3 by Sebastian Krysmanski <sebastian@…>, 15 years ago

Btw: This also doesn't work when no alternative text is provided. For example [MoinMoin] should be rendered as MoinMoin but is rendered as [MoinMoin]. This is especially the case for non-camelcase wiki pages.

in reply to:  3 comment:4 by Christian Boos, 15 years ago

I think [<some text>] is seen too commonly in plain text to be automatically replaced by a link.

See http://en.wikipedia.org/wiki/Square_bracket#Box_brackets_or_square_brackets_.5B_.5D.

comment:5 by Sebastian Krysmanski <sebastian@…>, 15 years ago

You may be right although I think users using the Trac wiki would always expect square brackets to represent a link (at least I do) - so I guess they won't use them as often as you think. But that's just my opinion.

comment:6 by Christian Boos, 15 years ago

Keywords: internal free link added
Milestone: next-minor-0.12.x0.12.1

comment:7 by Remy Blank, 15 years ago

Milestone: 0.12.10.12
Resolution: fixed
Status: newclosed

["Internal free links" with a label] have been added in [9535].

comment:8 by Christian Boos, 15 years ago

Owner: changed from Christian Boos to Remy Blank

Modify Ticket

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