On Wed, Sep 3, 2008 at 9:38 PM, Vincent Massol <[EMAIL PROTECTED]> wrote: > Hi, > > This has been slightly discussed in other thread but not clearly so > here's the clear proposal I'd like to implement: > > 1) Linking to an attachment: > > [[label>attachment:my.doc]] or simply [[attachment:my.doc]]
Could we use "=" instead of ":" is already used for the wiki prefix (as in xwiki:Main.WebHome) ? To be able to write [label>attachment=xwiki:Main.WebHome^my.doc] > 2) Image link: > > [[label>reference>image=my.png]] or simply [[reference>image=my.png]] "reference" is a wiki page here ? If so I'd be in favor of keeping the target element as the last element of the link : [[image=my.png>reference]]. > [snip] > > Note 2: The value for attachment:xxx is an attachment name (as in > my.doc) or the qualified name of an attachment. I'm proposing > "wiki:space.page^attachment" for now. > Note 3: The value for image can be: a full URL, an image attachment > name (as in my.png) or the qualified name of the image as in: > "wiki:space.page^imagename" (same as above). I'm not a fan of "^" or "/" but I don't have any suggestion, choices are very limited! _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

