}
} while $cwd=~s!/?[^/]+$!!;
+ if (length $config{userdir} && exists $links{"$config{userdir}/".lc($link)}) {
+ return $links{"$config{userdir}/".lc($link)};
+ }
+
#print STDERR "warning: page $page, broken link: $link\n";
return "";
} #}}}
push @page_locs, $dir.$page;
}
}
+ push @page_locs, "$config{userdir}/$page"
+ if length $config{userdir};
@page_locs = grep {
! exists $pagecase{lc $_} &&
goes to the wrong page by default. For example, linking from
"FooBar/SubPage" to "/OtherPage" will link to the "OtherPage" in the root
of the wiki, even if there is a "FooBar/OtherPage".
+
+Also, if the wiki is configured with a userdir, you can link to pages
+within the userdir without specifying a path to them. This is to allow for
+easy linking to a user's page in the userdir, to sign a comment. These
+links are checked for last of all.
* Don't put discussion links on discussion pages.
* Allow disabling of plugins included in goodstuff.
* Add a textile format plugin contributed by mazirian.
+ * If a userdir is configured, links to pages in it can be made without
+ specifying the path. This allows for easy signing of comments by linking
+ to your page in the userdir.
- -- Joey Hess <joeyh@debian.org> Fri, 29 Dec 2006 00:17:58 -0500
+ -- Joey Hess <joeyh@debian.org> Fri, 29 Dec 2006 00:26:47 -0500
ikiwiki (1.36) unstable; urgency=low
+++ /dev/null
-Chris is Chris Green, an ancient C/C++/Java programmer, I started around 1982 or 1983.
-
-I was programming even before that in assembler and things like that, I was first programming for a living in about 1970.
-
-I'm considering using ikiwiki for keeping notes and maybe a ToDo list etc.
\ No newline at end of file
+++ /dev/null
-I am testing ikiwiki. I made a RCS plugin.
\ No newline at end of file
+++ /dev/null
-Joey Hess is <a href="mailto:joey@kitenet.net">joey@kitenet.net</a>.
-His web page is [here](http://kitenet.net/~joey/).
-
-Joey hates programming web crap, and hates being locked into a web browser
-to do something, and this probably shows in the design choices made in
-ikiwiki.
+++ /dev/null
-Jonas Smedegaard is a Debian developer, like joey. A big fan of this novel approach to wiki: serving as pages static!
-
-JonasSmedegaard maintains the packaging of another wiki - MoinMoin - for Debian, but is personally tired of the heavy burden of Python on his web servers.
The userdir should be searched at the end of the search "path" for links,
so that users can put their pages in the userdir, and still link to them
easily when signing things, without giving a path.
+
+[[todo/done]]
--- /dev/null
+See [[IkiwikiUsers]] for the list of sites using ikiwiki.
+
+Users of this wiki, feel free to create a subpage of this one and talk
+about yourself on it, within reason. You can link to it to sign your
+comments.
--- /dev/null
+Chris is Chris Green, an ancient C/C++/Java programmer, I started around 1982 or 1983.
+
+I was programming even before that in assembler and things like that, I was first programming for a living in about 1970.
+
+I'm considering using ikiwiki for keeping notes and maybe a ToDo list etc.
\ No newline at end of file
--- /dev/null
+I am testing ikiwiki. I made a RCS plugin.
\ No newline at end of file
--- /dev/null
+Joey Hess is <a href="mailto:joey@kitenet.net">joey@kitenet.net</a>.
+His web page is [here](http://kitenet.net/~joey/).
+
+Joey hates programming web crap, and hates being locked into a web browser
+to do something, and this probably shows in the design choices made in
+ikiwiki.
--- /dev/null
+Jonas Smedegaard is a Debian developer, like joey. A big fan of this novel approach to wiki: serving as pages static!
+
+JonasSmedegaard maintains the packaging of another wiki - MoinMoin - for Debian, but is personally tired of the heavy burden of Python on his web servers.