diff options
author | Simon McVittie <smcv@debian.org> | 2010-04-02 00:28:02 +0100 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2010-04-04 00:43:48 +0100 |
commit | c1a42e76bc6667bfb2882a12d53c25d9f952ca82 (patch) | |
tree | f540ca41ab5668dd417c4df17b64af2aa0ee83e0 /doc/bugs | |
parent | 05b6e8ceee2bec4442727e2475abf8a8861d5e0a (diff) | |
download | ikiwiki-c1a42e76bc6667bfb2882a12d53c25d9f952ca82.tar ikiwiki-c1a42e76bc6667bfb2882a12d53c25d9f952ca82.tar.gz |
implement typed links; add tagged_is_strict config option
Diffstat (limited to 'doc/bugs')
-rw-r--r-- | doc/bugs/tagged__40____41___matching_wikilinks.mdwn | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/bugs/tagged__40____41___matching_wikilinks.mdwn b/doc/bugs/tagged__40____41___matching_wikilinks.mdwn index e7e4af7c3..9037d6c02 100644 --- a/doc/bugs/tagged__40____41___matching_wikilinks.mdwn +++ b/doc/bugs/tagged__40____41___matching_wikilinks.mdwn @@ -28,6 +28,9 @@ rationale on this, or what am I doing wrong, and how to achieve what I want? >> is valid. [[todo/matching_different_kinds_of_links]] is probably >> how it will eventually be solved. --[[Joey]] +>>> [[Done]]: you can now set the `tagged_is_strict` config option to `1` +>>> if you don't want `tagged` to match other wikilinks. --[[smcv]] + > And this is an illustration why a clean work-around (without changing the software) is not possible: while thinking about [[todo/matching_different_kinds_of_links]], I thought one could work around the problem by simply explicitly including the kind of the relation into the link target (like the tagbase in tags), and by having a separate page without the "tagbase" to link to when one wants simply to refer to the tag without tagging. But this won't work: one has to at least once refer to the real tag page if one wants to talk about it, and this reference will count as tagging (unwanted). --Ivan Z. > But well, perhaps there is a workaround without introducing different kinds of links. One could modify the [[tag plugin|plugins/tag]] so that it adds 2 links to a page: for tagging -- `tagbase/TAG`, and for navigation -- `tagdescription/TAG` (displayed at the bottom). Then the `tagdescription/TAG` page would hold whatever list one wishes (with `tagged(TAG)` in the pagespec), and whenever one wants to merely refer to the tag, one should link to `tagdescription/TAG`--this link won't count as tagging. So, `tagbase/TAG` would become completely auxiliary (internal) link targets for ikiwiki, the users would edit or link to only `tagdescription/TAG`. --Ivan Z. |