diff options
author | http://lj.rossia.org/users/imz/ <http://lj.rossia.org/users/imz/@web> | 2009-05-18 17:47:24 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2009-05-18 17:47:24 -0400 |
commit | 0e82950125d9f6182689cf74921dbb57f1140f96 (patch) | |
tree | 95d7b6a28ed866f22e43ca1c8bcf171dd5a5e9c5 | |
parent | 10c82d48247989412a66fd849743ea1d98335ff1 (diff) | |
download | ikiwiki-0e82950125d9f6182689cf74921dbb57f1140f96.tar ikiwiki-0e82950125d9f6182689cf74921dbb57f1140f96.tar.gz |
formlating the thing with multiple kinds of links
-rw-r--r-- | doc/todo/matching_different_kinds_of_links.mdwn | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/todo/matching_different_kinds_of_links.mdwn b/doc/todo/matching_different_kinds_of_links.mdwn new file mode 100644 index 000000000..d3c3a1375 --- /dev/null +++ b/doc/todo/matching_different_kinds_of_links.mdwn @@ -0,0 +1,9 @@ +[[!tag wishlist]] + +As noted in [[todo/tag_pagespec_function]], there is a "misbehavior" of a `tagged()` pagespec: it matches even pages which have plain links to the tag page. + +And in general, it would be quite useful to be able to distinguish different kinds of links: one more kind, in addition to "tag", is "bug dependency" noted in [[todo/structured_page_data#another_kind_of_links]] and [[todo/tracking_bugs_with_dependencies#another_kind_of_links]]. + +It could distinguish the links by the `rel=` attribute. ([[Tags already receive a special rel-class|todo/rel_attribute_for_links]].) This means there is a general need for a syntax to specify user-defined rel-classes on wikilink (then bug deps would simply use their special rel-class, either directly, or through a special directive like `\[[!depends ]]`), and to refer to them in pagespecs (in forward and backward direction). + +Besides pagespecs, the `rel=` attribute could be used for styles. --Ivan Z. |