From 6a0af91fe57a6af5b40a929712b7eca6e599b976 Mon Sep 17 00:00:00 2001 From: "http://smcv.pseudorandom.co.uk/" Date: Fri, 9 Aug 2013 09:51:56 -0400 Subject: [PATCH] --- .../flexible_relationships_between_pages.mdwn | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/doc/todo/flexible_relationships_between_pages.mdwn b/doc/todo/flexible_relationships_between_pages.mdwn index ee3dd8d3a..96ac55c38 100644 --- a/doc/todo/flexible_relationships_between_pages.mdwn +++ b/doc/todo/flexible_relationships_between_pages.mdwn @@ -33,6 +33,11 @@ details direction (eg `index`, even though one could declare it as `index/isindexof`). + > isindexof is not a very interesting relationship - it just clogs up + > the link-map, since the index is "the index of" all pages. I can't + > see any situation in which you'd want to do pagespec matching + > on it? --[[smcv]] + other verbs are symmetric, eg. `equivalent`, which need different treatment. * "taglink" style directives @@ -41,6 +46,18 @@ details from the autotag and tagdir features). as there is a `\[[!taglink ...]]` directive, there could be an analogous directive for every single directive. + > This is basically the traillink/trailitem duality, too. + > I'd be quite tempted to generalize to something like this: + > + > We can't fix [[!link blocks="bug123" text="Bug 123"]] until we do this. + > + > [[!hiddenlink owner="smcv"]] + > + > but perhaps that's too wordy? + > + > I think both trail and tag need their own special processing beyond the + > general case, but maybe not? --[[smcv]] + * implementation notes the way pagespec hooks are implemented required some nasty perl tricks, for @@ -49,6 +66,9 @@ details ideal. a change in the pagespec declaration api (why not just `hook` like everything else) would make the implementation cleaner. + > How about replacing `blockedby(bug*)` with `linktype(blockedby bug*)` or + > something? Then you'd only need one pseudo-hook. --[[smcv]] + * configuration location i aimed for static configuration of the `block_names` in the setup file. this @@ -75,6 +95,9 @@ details consider what is in @links to be a representation of which hyperlinks are there, and in this case, none are generated). + > taglink and traillink already count as wikilinks without generating + > any visible HTML. --[[smcv]] + implementation ============== -- 2.39.5