aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/write.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-11-29 14:59:15 -0400
committerJoey Hess <joey@kitenet.net>2010-11-29 14:59:15 -0400
commitf60f15704e1f98ceea023561c9e411b6fc3ac4ea (patch)
tree1d5e83421876bf091e736d6c16ee9d5e7a33a1fd /doc/plugins/write.mdwn
parent0ae1e4cc0e598eacfeb508d11db81c33169631fd (diff)
downloadikiwiki-f60f15704e1f98ceea023561c9e411b6fc3ac4ea.tar
ikiwiki-f60f15704e1f98ceea023561c9e411b6fc3ac4ea.tar.gz
tweak urlto description
Diffstat (limited to 'doc/plugins/write.mdwn')
-rw-r--r--doc/plugins/write.mdwn7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn
index 33db3e707..726ace8d3 100644
--- a/doc/plugins/write.mdwn
+++ b/doc/plugins/write.mdwn
@@ -988,9 +988,10 @@ Construct a relative url to the first parameter from the page named by the
second. The first parameter can be either a page name, or some other
destination file, as registered by `will_render`.
-If the second parameter is `undef`, the URL will be valid from any page on the
-wiki, or from the CGI; if possible it'll be a path starting with `/`, but an
-absolute URL will be used if the wiki and the CGI are on different servers.
+If the second parameter is `undef` (or not specified), the URL will be
+valid from any page on the wiki, or from the CGI; if possible it'll
+be a path starting with `/`, but an absolute URL will be used if
+the wiki and the CGI are on different domains.
If the third parameter is passed and is true, an absolute url will be
constructed instead of the default relative url.