]> sipb.mit.edu Git - ikiwiki.git/commitdiff
second parameter of urlto is optional
authorJoey Hess <joey@kitenet.net>
Mon, 29 Nov 2010 18:59:48 +0000 (14:59 -0400)
committerJoey Hess <joey@kitenet.net>
Mon, 29 Nov 2010 18:59:48 +0000 (14:59 -0400)
IkiWiki.pm
doc/plugins/write.mdwn

index a893edb3be4765f14f55b8b37509539bc4041a66..97946bfcf888a185a193cf5d4ef2f2c353cdb058 100644 (file)
@@ -1134,7 +1134,7 @@ sub beautify_urlpath ($) {
        return $url;
 }
 
-sub urlto ($$;$) {
+sub urlto ($;$$) {
        my $to=shift;
        my $from=shift;
        my $absolute=shift;
index 726ace8d39cf88e3050e6bca729fe508547af0c1..ccdf9f393cfc34a1d34c654fc0a27e062a0366ac 100644 (file)
@@ -982,7 +982,7 @@ This is the standard gettext function, although slightly optimised.
 
 This is the standard ngettext function, although slightly optimised.
 
-### `urlto($$;$)`
+### `urlto($;$$)`
 
 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