+1 for all.
Vincent Massol wrote:
Hi devs,
Sorry for the numerous mails on this topic. I've been struggling a bit
in choosing the best solution with the caveats brought by wikimodel.
So here's my latest proposal that replaces all previous ones on the
link topic:
1) General link syntax: [[label>>reference]] or [[label||reference]]
Note1: I've removed the need for parameters, see below.
Note2: I'm suggesting double character separators since if we allow
wiki syntax in link labels we need to easily differentiate the
separator from a character typed in the label. Same reason why we
doubled [[ ]], **, //, etc. characters. We could still use single
characters (open question, I'm not sure about double chars) since
people are not meant to write tons of text in link labels. OTOH it's
consistent with our usage of double chars everywhere else (but it
breaks current habits of the single char for links).
2) Links with parameters:
(% param1=value1 paramN=valueN %)[[label>>reference]]
3) Links with wiki syntax for the label:
[[**bold** link>>reference]]
[[{{velocity}}...{{/velocity}}>>reference]]
[[{{image:...}}>>reference]] <-- image link
<OT>
Note: For the image link we'll still need to decide if we want a macro
for inserting an image or use wiki syntax but that's a topic that is
now dissociated from the link topic:
[[{{image:my.png}}>>reference]]
or
[[image:my.png>>reference
</OT>
Last for those wondering, I've found a solution to make this work with
wikimodel and I've discovered Doxia supported wiki syntax in link
labels, hence why I'm resurrecting the idea of having wiki syntax in
links which is a way superior solution.
--
Artem Melentyev