Feature #1856

Link syntax is inconsistent

Added by Jim Jones about 13 years ago. Updated about 13 years ago.

Status:NewStart date:2008-09-04
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Wiki
Target version:-
Resolution:

Description

A wiki link goes like this:

![[TargetPage|Label]]

An external link goes like this:

!"Label":http://www.example.com

Having two different syntaxes is bad. Having the ordering reversed in one of them is worse.

I propose the following fix:

  • Make the [[]]-syntax support external links, so we can write:
    [[http://foobar.com|Label]] (note: i found no way to protect the link from parsing)

This would be backwards compatible (the old syntax doesn't need to change or go away).

History

#1 Updated by Paul Rivier about 13 years ago

unfortunatly, Textile has been designed for general use for web content, therefore only handle external links.

"Label":http://www.example.com 

is the official Textile markup syntax, and FWIW I find it absolutly terrible. But this is the Textile syntax and changing it would make redmine not follow the official textile markup.

#2 Updated by Jim Jones about 13 years ago

Paul Rivier wrote:

unfortunatly, Textile has been designed for general use for web content, therefore only handle external links.
[...]
is the official Textile markup syntax, and FWIW I find it absolutly terrible. But this is the Textile syntax and changing it would make redmine not follow the official textile markup.

Well, as said, let's keep the textile syntax but provide ![[http://foobar.com|Label]] in addition to that.
That way we can have consistency and backwards compatibility. :)

#3 Updated by Jean-Philippe Lang about 13 years ago

  • Tracker changed from Defect to Feature

Also available in: Atom PDF