Hello XWiki community,

The current syntax 2.1 allows me to use

 [[ link-label >> http://example.com || target="targ"]]

so as to write a link that goes to a named target targ (which could also be 
"_blank").

However, both XWiki Syntax 2.1 documentation for links:
        
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HXWikiSyntax2.1LinkSpecification
and the WYSIWYG editor employ the rel attribute instead to denote that a link 
should be opened in a new window.

I am surprised such a choice is made since:
- the rel attribute is deemed to be only useful for robots (see, e.g. 
http://www.w3.org/TR/html401/struct/links.html#adef-rel, 
http://dev.w3.org/html5/markup/a.html#a.attrs.rel,http://reference.sitepoint.com/html/a/rel
 or http://www.htmlhelp.com/reference/html40/values.html#linktypes)
- the target attribute which was deprecated in html4 has been resurrected by 
hmtl5 and is indeed output by:
 [[ link-label >> http://example.com || rel="__blank"]]

I would suggest:
- to modify the syntax documentation to speak about the target attribute as 
well as the rel attribute (e.g. with the nofollow attribute)
- to let the wysiwyg editor output target="_blank" instead of including the rel 
nae

Do you agree?
It appears that I need particular rights to edit the XWikiSyntax page. How do I 
get them?

thanks in advance.

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

Reply via email to