Project

General

Profile

Actions

Feature #1856

open

Link syntax is inconsistent

Added by Jim Jones over 16 years ago. Updated over 16 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
2008-09-04
Due date:
% Done:

0%

Estimated time:
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).

Actions #1

Updated by Paul Rivier over 16 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.

Actions #2

Updated by Jim Jones over 16 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. :)

Actions #3

Updated by Jean-Philippe Lang over 16 years ago

  • Tracker changed from Defect to Feature
Actions

Also available in: Atom PDF