From: http://smcv.pseudorandom.co.uk/ Date: Sat, 3 Apr 2010 00:53:59 +0000 (+0000) Subject: perhaps the typedlink(tag foo) pagespec isn't so useful X-Git-Tag: 3.20100403~7 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/c4a838b33a34ff61a1dd5c6f65e40df3609e727f perhaps the typedlink(tag foo) pagespec isn't so useful --- diff --git a/doc/todo/matching_different_kinds_of_links.mdwn b/doc/todo/matching_different_kinds_of_links.mdwn index f8796652e..4f52ade52 100644 --- a/doc/todo/matching_different_kinds_of_links.mdwn +++ b/doc/todo/matching_different_kinds_of_links.mdwn @@ -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]]