Hi,

In v1.0 we were using: [label>ref>_top] for a link with a target (rel).

We need to decide how that translates in v2.0.

A first approach would be to use:

[[label>ref>>target=_top]]

However there's a problem since we already have a way to define  
parameters: (% ... %)

So this should probably be written instead as:

(% rel=_top %)[[label>ref]]

Since the (% %) notation allows passing any parameter I'm wondering  
why we need the parameters in the link syntax. I'll ask Mikhail from  
wikimodel why we need it but I don't see a valid reason.

Note that (% %) parameters are currently not supported on inline  
blocks for now but the plan is to add it in wikimodel.

Last I'm pretty convinced now that we should support wiki syntax in  
the label portion of a link, even if this is currently not supported  
in wikimodel and that means we won't be able to use wikimodel  
renderers (note that there's only 1 for now: the LaTex one but Doxia  
also has a LaTex renderer that we can use).

Thanks
-Vincent
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to