]> sipb.mit.edu Git - ikiwiki.git/commitdiff
tweak urlto description
authorJoey Hess <joey@kitenet.net>
Mon, 29 Nov 2010 18:59:15 +0000 (14:59 -0400)
committerJoey Hess <joey@kitenet.net>
Mon, 29 Nov 2010 18:59:15 +0000 (14:59 -0400)
doc/plugins/write.mdwn

index 33db3e707d8ad816bcc80a807ec8c8098fe72ec7..726ace8d39cf88e3050e6bca729fe508547af0c1 100644 (file)
@@ -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`.
 
 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.
 
 If the third parameter is passed and is true, an absolute url will be
 constructed instead of the default relative url.