aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/flexible_relationships_between_pages.mdwn
diff options
context:
space:
mode:
authorhttp://smcv.pseudorandom.co.uk/ <smcv@web>2013-08-09 09:51:56 -0400
committeradmin <admin@branchable.com>2013-08-09 09:51:56 -0400
commit6a0af91fe57a6af5b40a929712b7eca6e599b976 (patch)
treed6185fce5bc208393da541c293c713df3431482c /doc/todo/flexible_relationships_between_pages.mdwn
parentc978c33da1ea9f68e22e9a310ef1bda9966ca40d (diff)
downloadikiwiki-6a0af91fe57a6af5b40a929712b7eca6e599b976.tar
ikiwiki-6a0af91fe57a6af5b40a929712b7eca6e599b976.tar.gz
Diffstat (limited to 'doc/todo/flexible_relationships_between_pages.mdwn')
-rw-r--r--doc/todo/flexible_relationships_between_pages.mdwn23
1 files changed, 23 insertions, 0 deletions
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
==============