XWIKI-10814: "create document" form: add links if the document already e...

...xist
This will fail when the document/space contain special chars such as ".". You need to use instead:

     public String getURL(DocumentReference reference) throws XWikiException

Also make sure you have a white space after ","...