finish link(.) support

master
Joey Hess 2010-08-30 13:37:16 -04:00
parent 991d01f5b5
commit 00a54d1bb7
3 changed files with 12 additions and 3 deletions

1
debian/changelog vendored
View File

@ -13,6 +13,7 @@ ikiwiki (3.20100816) UNRELEASED; urgency=low
* Danish translation update. Closes: #594673
* highlight: Make location of highlight's files configurable in setup
file to allow for nonstandard installations.
* Allow "link(.)" and similar PageSpecs. Thanks, Giuseppe Bilotta.
-- Joey Hess <joeyh@debian.org> Sun, 15 Aug 2010 11:45:48 -0400

View File

@ -79,6 +79,6 @@ filenames of the pages in the wiki, so a pagespec "foo" used on page
relative to the directory of the page containing the pagespec, you can
use "./". For example, "./foo" on page "a/b" matches page "a/foo".
If you want to use the name of the page the pagespec is used in, you can use
a single dot. For example, `link(.)` matches all the pages linking to the
current page.
To indicate the name of the page the PageSpec is used in, you can
use a single dot. For example, `link(.)` matches all the pages
linking to the page containing the PageSpec.

View File

@ -11,3 +11,11 @@ IkiWiki.pm is the best way to do it".
> I implemented this suggestion in the simplest possible way, [[!taglink patch]] available [[here|http://git.oblomov.eu/ikiwiki/patch/f4a52de556436fdee00fd92ca9a3b46e876450fa]].
> An alternative approach, very similar, would be to make the empty page parameter mean current page (e.g. `link()` would mean pages linking here). The patch would be very similar.
> -- GB
>> Thanks for this, and also for your recent spam-fighting.
>> Huh, I was right about changing derel, didn't realize it would be
>> so obvious a change. :) Oh well, I managed to complicate it
>> some in optimisation pass.. ;)
>>
>> Note that your git-daemon on git.oblomov.eu seems down.
>> I pulled the patch from gitweb, [[done]] --[[Joey]]