Wiki source code of ExternalURLs
Last modified by Thomas Mortagne on 2023/08/11 11:31
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{velocity}} | ||
2 | $doc.externalURL | ||
3 | $xwiki.xWiki.getServerURL($doc.documentReference.wikiReference.name, $xcontext.context) | ||
4 | {{/velocity}} | ||
5 | |||
6 | {{velocity}} | ||
7 | #if ($request.redirectconfirm) | ||
8 | $response.sendRedirect($doc.getURL()) | ||
9 | #end | ||
10 | [[redirect to $doc.getURL()>>path:?redirect=true]] | ||
11 | {{/velocity}} |