(anonymous guest) (logged out)

Copyright (C) by the contributors. Some rights reserved, license BY-SA.

Sponsored by the Wiki Symposium and the Nuveon GmbH.

 

Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-18) was last changed on 26-Sep-2007 12:33 by ChuckSmith  

This page was created on 15-Jan-2007 08:24 by RadomirDopieralski

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 5 changed one line
There is however a third way -- introducing own link markup format, that wouldn't conflict with markups of existing wikis.
There is however a third way -- introducing own link markup format, that wouldn't conflict with markups of existing wikis. This allows to both stay compliant with Creole, and retain the preferred order of link and description.
=== Addition proposal ===
{{{
[[description->link]]
}}}
The description is separated from the link with an arrow-like pair of characters "->". If there are multiple such pairs in the description, the last one is considered to be the separator.
==== Advantages ====
* used by [[PmWiki]], so it is [[NotNew]]
* avoids the pipe character, which is not present on all international [[keyboards]]
* the order of link and description is indicated in the markup
* doesn't conflict with the default {{{[[link|description]]}}} markup
* provides alternative to the default order of link and description
* doesn't depend on "smart" methods of guessing which part is the link
* doesn't clash with the table markup, or any other existing Creole markup -- doesn't require modyfying existing rules
* two-character long separator makes it easier to scan the raw text and reduces probability of conflict with other markup
==== Disadvantages ====
* new for most users
* new in Creole
* the '{{{[}}}', '{{{]}}}' and '{{{>}}}' characters are not available on some [[keyboards]], eg. the for russian keyboard layout
* slower to type than the default link syntax
* lacks the intuitive counterpart that would use "<-"
* introduces more than way of making links -- this means that the users need to know //both// ways
* potential source of confusion when the separator is not easy to spot, eg. a | at the end of a complicate url with multiple parameters
* ambiguity with current link syntax:
{{{
[[foo|bar->baz]]
}}}
Is this a link to page "foo" with description "bar->baz", or a link to "baz" with description "foo|bar"?
* inconsistence with the image syntax -- should images also have a similar addition?
Version Date Modified Size Author Changes ... Change note
18 26-Sep-2007 12:33 2.829 kB ChuckSmith to previous restore
17 26-Sep-2007 02:23 2.856 kB 60.32.219.68 to previous | to last
16 26-Sep-2007 02:22 2.842 kB 60.190.243.173 to previous | to last
15 14-Feb-2007 21:14 2.829 kB RadomirDopieralski to previous | to last added advantage
14 14-Feb-2007 20:36 2.706 kB RadomirDopieralski to previous | to last clean up
13 14-Feb-2007 20:35 2.619 kB RadomirDopieralski to previous | to last cleanup
12 06-Feb-2007 15:53 3.374 kB 141.7.56.2 to previous | to last
11 28-Jan-2007 22:40 3.347 kB 198.95.226.230 to previous | to last
10 28-Jan-2007 22:40 3.325 kB 198.95.226.230 to previous | to last
9 17-Jan-2007 16:54 2.238 kB ChuckSmith to previous | to last added new link change proposal as requested
8 17-Jan-2007 10:31 1.954 kB 141.7.56.2 to previous | to last put question mark after right-to-left argument
7 16-Jan-2007 15:31 1.95 kB ChuckSmith to previous | to last disadvantage: right-to-left languages
6 16-Jan-2007 12:55 1.891 kB ChuckSmith to previous | to last speed of typing
5 16-Jan-2007 12:36 1.855 kB RadomirDopieralski to previous | to last
4 16-Jan-2007 12:36 1.819 kB RadomirDopieralski to previous | to last rephrased disadvantages, removed "intuitive" as it's relative
3 16-Jan-2007 12:13 1.686 kB ChuckSmith to previous | to last format fixing ... still getting used to Creole :)
2 16-Jan-2007 12:12 1.684 kB ChuckSmith to previous | to last advantages and disadvantages
1 15-Jan-2007 08:24 0.998 kB RadomirDopieralski to last introduction, please refactor
« This page (revision-18) was last changed on 26-Sep-2007 12:33 by ChuckSmith