projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f60f157
)
second parameter of urlto is optional
author
Joey Hess
<joey@kitenet.net>
Mon, 29 Nov 2010 18:59:48 +0000
(14:59 -0400)
committer
Joey Hess
<joey@kitenet.net>
Mon, 29 Nov 2010 18:59:48 +0000
(14:59 -0400)
IkiWiki.pm
patch
|
blob
|
history
doc/plugins/write.mdwn
patch
|
blob
|
history
diff --git
a/IkiWiki.pm
b/IkiWiki.pm
index a893edb3be4765f14f55b8b37509539bc4041a66..97946bfcf888a185a193cf5d4ef2f2c353cdb058 100644
(file)
--- a/
IkiWiki.pm
+++ b/
IkiWiki.pm
@@
-1134,7
+1134,7
@@
sub beautify_urlpath ($) {
return $url;
}
-sub urlto ($
$;
$) {
+sub urlto ($
;$
$) {
my $to=shift;
my $from=shift;
my $absolute=shift;
diff --git
a/doc/plugins/write.mdwn
b/doc/plugins/write.mdwn
index 726ace8d39cf88e3050e6bca729fe508547af0c1..ccdf9f393cfc34a1d34c654fc0a27e062a0366ac 100644
(file)
--- a/
doc/plugins/write.mdwn
+++ b/
doc/plugins/write.mdwn
@@
-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