]> sipb.mit.edu Git - ikiwiki.git/commitdiff
perhaps the typedlink(tag foo) pagespec isn't so useful
authorhttp://smcv.pseudorandom.co.uk/ <http://smcv.pseudorandom.co.uk/@web>
Sat, 3 Apr 2010 00:53:59 +0000 (00:53 +0000)
committerJoey Hess <joey@finch.kitenet.net>
Sat, 3 Apr 2010 00:53:59 +0000 (00:53 +0000)
doc/todo/matching_different_kinds_of_links.mdwn

index f8796652e8e75b499af64f46a3dbd40c9ccc3e0b..4f52ade52287634e7b92a89dac15f8d83b5b3ef8 100644 (file)
@@ -140,3 +140,12 @@ without too much transitional trouble. --[[Joey]]
 > care either way; [[Jon]] expressed concern about people relying
 > on the current semantics, on one of the pages requesting this
 > change. --s
+
+I might have been wrong to introduce `typedlink(tag foo)`. It's not
+very user-friendly, and is more useful as a backend for other plugins
+that as a feature in its own right - any plugin introducing a link
+type will probably also want to have its own preprocessor directive
+to set that link type, and its own pagespec function to match it.
+I wonder whether to make a `typedlink` plugin that has the typedlink
+pagespec match function and a new `\[[!typedlink to="foo" type="bar"]]`
+though... --[[smcv]]