]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/support_link__40__.__41___in_pagespec.mdwn
convert rcs_revert to only stage the reversion
[ikiwiki.git] / doc / todo / support_link__40__.__41___in_pagespec.mdwn
1 [[!tag wishlist]]
2
3 It would be nice to have pagespecs support "link(.)" as syntax.
4 This would match pages that link to the page that invokes the pagespec.
5 The use case is a blog with tags, and having a page for each tag
6 which uses !inline to list all posts with the tag.
7
8 Joey said on IRC that "probably changing the derel() function in 
9 IkiWiki.pm is the best way to do it".
10
11 > I implemented this suggestion in the simplest possible way, [[!taglink patch]] available [[here|http://git.oblomov.eu/ikiwiki/patch/f4a52de556436fdee00fd92ca9a3b46e876450fa]].
12 > 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.
13 > -- GB
14
15 >> Thanks for this, and also for your recent spam-fighting.
16 >> Huh, I was right about changing derel, didn't realize it would be
17 >> so obvious a change. :) Oh well, I managed to complicate it
18 >> some in optimisation pass.. ;)
19 >>
20 >> Note that your git-daemon on git.oblomov.eu seems down.
21 >> I pulled the patch from gitweb, [[done]] --[[Joey]]