]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/tagged__40____41___matching_wikilinks.mdwn
(no commit message)
[ikiwiki.git] / doc / bugs / tagged__40____41___matching_wikilinks.mdwn
1 It may be that I'm simply misunderstanding something, but what is the rationale
2 for having `tagged()` also match normal wikilinks?
3
4 > It simply hasn't been implemented yet -- see the answer in [[todo/tag_pagespec_function]]. Tags and wikilinks share the same underlying implementation, although ab reasonable expectation is that they are kept separate. --Ivan Z.
5
6 The following situation.  I have `tagbase => 'tag'`.  On some pages, scattered
7 over the whole wiki, I use `\[[!tag open_issue_gdb]]` to declare that this page
8 contains information about an open issue with GDB.  Then, I have a page
9 `/tag/open_issues_gdb.mdwn` that essentially contains `\[[!map
10 pages="tagged(open_issue_gdb)"]]`.  So far, so good: this page indeed does list
11 all pages that are tagged like this.  But now, when I add in `/gdb.mdwn` a link
12 to this page, like `\[[Open Issues|tag/open_issue_gdb]]`, then `/gdb.mdwn`
13 itself shows up in the map on `tag/open_issues_gdb.mdwn`.  In my understanding
14 this is due to the wikilink being equal to a `\[[!tag ...]]`.  What's the
15 rationale on this, or what am I doing wrong, and how to achieve what I want?
16
17 --[[tschwinge]]
18
19 > What you are doing "wrong" is putting non-tag pages (i.e. `/tag/open_issues_gdb.mdwn`) under your tagbase. The rationale for implementing tag as it has been, I think, is one of simplicity and conciseness. -- [[Jon]]