(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-46) was last changed on 05-Oct-2008 17:38 by 69.243.201.36  

This page was created on 04-Sep-2006 01:57 by 217.162.145.188

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 7 changed one line
I just edited wikiohana.net an realized how hard the current order of "link first, description last" is to read in wikitext:
Moved discussion about address/description order to [Talk.AlternateLinkSyntaxProposal].
At line 9 changed 7 lines
{{{
This Wisdom is taken from [[Ward Cunningham's]] [[http://www.c2.com/doc/wikisym/WikiSym2006.pdf|Presentation at the Wikisym 06]]
}}}
vs.
{{{
This Wisdom is taken from [[Ward Cunningham's]] [[Presentation at the Wikisym 06|http://www.c2.com/doc/wikisym/WikiSym2006.pdf]]
}}}
--------
== 27. April 2007
Hi.
Just a short question: Are InterWiki-Links, like {{{[[WikiCreole:Creole1.0]]}}}, mandatory for an implementation of the WikiCreole 0.6 specification?
Thanks in advance!\\
-- Martin Junghans
At line 17 changed one line
For people that read from left to right the last one is much better. Most or all of the western world I guess. What's the earth population percentage of people reading from right to left? I have no clue. Are the Chinese reading from right to left? hebrew does. Anyway...
To be honest, they haven't been discussed yet, so basically we don't know. On the other hand, [[ThereIsNoWrongWayToImplementCreole]], so nobody will kill you if you skip them -- at the worst, you get some users complaining that they miss it.
At line 19 changed one line
What about changing this? -> from [[link|descr]] to [[descr|link] in case left to right readers are the majority?
-- [[RadomirDopieralski]], 2007-Apr-28
At line 21 changed one line
--[Christoph] 6-Sep-2006
It's only mandatory if you have an implementation of InterWiki in your wiki. If you don't use InterWiki, you can safely ignore it.
At line 23 changed one line
I think we should have "nothing new" and therefore stick to the current convention.
-- [[ChuckSmith]], 2007-Apr-30
At line 25 changed one line
What about whitespace around the pipe when renaming links? I think it should not be allowed. Thus: {{{[[page|name]]}}} and not {{{[[page | name]]}}}, for all variants of links. What do you think?
== Mailto links
At line 27 changed one line
-- AlexSchroeder
I propose the usage of {{{mailto://test@example.com}}} (to be rendered in output as {{{mailto:test@example.com}}}) for email urls, even if this is not standards-friendly.
Any opinion about this? Is there a better place where to post this suggestion? Or should we postpone the discussion to the next Creole specification?
At line 29 changed 2 lines
I'll accept the pipe - however, I see less clear precedent for putting
the page title before the link text.
-- [[DanieleC.]], 2007-Jul-03
At line 32 changed one line
In general, 25 wikis on WikiMatrix support labeled links:
Why?
At line 34 changed 2 lines
||Page Title, Link Text ||Link Text, Page Title ||Both
| 16 | 8 | 1
-- [[YvesPiguet]], 2007-Jul-03
At line 37 changed 4 lines
Although I'll admit the bulk of the precedent (including both MediaWiki
and TWiki) use the page title followed by the link text, I think this at
least shows that there's a debate. (By the way, Confluence is among the
wikis that give link text followed by the page title.)
In [[WikiOnAStick]] there is no automatic URL decoration, so external URLs (with protocol) have to be specified using square brackets {{{[[protocol://uniformresourcelocator]]}}}; if we'd parse {{{[[mailto:test@example.com]]}}} as test@example.com, a page titled {{{mailto:something}}} would never get the internal wiki hyperlink. Using the double slashes also on mailto protocol would prevent this. This is our solution to our problem, I still have to understand if it has relevance in WikiCreole.
At line 42 changed one line
Again, I tend to favor the idea of using the syntax:
-- [[DanieleC.]], 2007-Jul-05
At line 44 changed one line
{{{ [[Text | Target Page]] }}}
------------
At line 46 changed 3 lines
I think it more closely imitates the intuitive thought process of a
link; the text links to the page, so the target of the link is secondary
information to the text of the link.
== Inner Page Anchors and Links
At line 50 removed one line
--[Eric Astor]
At line 52 changed one line
I use JSPWiki primarily at work and I tend to always want to put the link first (because I want to link to something) and then describe what it means. I also remember [Janne Jalkanen] saying that he would change that order if he had the chance now and at the time he was just blindly following [PhpWiki] syntax. In any case, twice as many engines use PageTitle, then Description, including [MediaWiki], so I still think we should stick to this order. Also, if for some reason you cut and paste in HTML, you can just ditch the extra stuff around it to make the link instead of also having to also change the order in the wiki syntax.
For inner page anchors, the following syntax is recommend:
At line 54 changed one line
--[Chuck Smith]
{{{ [[#1]] }}}
At line 56 changed 2 lines
I'm also used to do {{{[url|text]}}}. Maybe it's a habit from html, or from the wiki engines I use most. Anyways, if you don't want to break your train of thought, the put the link text only, and then insert the links when you finish the article. I found this way the most comfortable. Or just use [local names|http://ln.taoriver.net/about.html].
-- [RadomirDopieralski], 2006-09-07
Suggested HTML:
{{{ <a name='1' /> }}}
For inner page links, the following syntax is recommended:
{{{ [[#1|text]] }}}
Suggested HTML:
{{{ <a href='#1'>text</a> }}}
Note: without optional link text, using the {{{#}}} results in an inner page anchor. However, when using the optional link text, using the {{{#}}} results in a link to an inner page anchor.
-- [[JohnCook]]
I'd prefer a clearer way to disambiguate anchors and links, so that links don't need text; e.g. {{{[[@Chater1]]}}} for anchor
and {{{[[#Chapter1]]}}} or {{{[[#Chapter1|Chapter 1]]}}} for link.The at character is used for labels in some assembly languages,
iirc, so it isn't new. It would also blend more cleanly with links between pages.
-- [[YvesPiguet]], 2007-Jul-17
------------
== Clarification of rendering of markup around links
I don't see anywhere in the examples of how
{{{ //[[http://my.book.example/|My Book Title]]// }}}
should be rendered. The Perl Text::WikiCreole module renders it improperly, interpreting double-slash after the http: as closing the EM.
(This wiki renders it properly as //[[http://my.book.example/|My Book Title]]//.)
I think failing to render this is improper behavior, but it's not clear from spec that it is, especially since it's clear that markup inside the link should be rendered, and there are no examples of this in the [[Creole1.0TestCases|Test Cases]].
Since this is such an obvious failure, it ought to be clearly stated and a test case. (Or is it clearly stated somewhere I have missed?)
-- [[CarlCravens]], 2008-Mar-24
Hello Carl,
thanks for the hint. I've added your example to the [[testcases]].
-- [[ChristophSauer]], 2008-Mrz-25 08:16 (CET)
FYI, that bug in Text::WikiCreole is fixed as of today.
-- [[JasonBurnett]], 2008-Oct-05
Version Date Modified Size Author Changes ... Change note
46 05-Oct-2008 17:38 4.08 kB 69.243.201.36 to previous
45 25-Mar-2008 08:16 3.983 kB ChristophSauer to previous | to last respond to Carl
44 25-Mar-2008 05:04 3.85 kB CarlCravens to previous | to last
43 16-Oct-2007 10:01 3.022 kB ChristophSauer to previous | to last moved from talk
42 26-Sep-2007 09:06 2.114 kB ChuckSmith to previous | to last restore
41 26-Sep-2007 00:57 2.124 kB 219.138.204.162 to previous | to last
« This page (revision-46) was last changed on 05-Okt-2008 17:38 by 69.243.201.36