tagged() matching wikilinks?

master
tschwinge 2009-05-19 04:46:24 -04:00 committed by Joey Hess
parent 9df6ef9c86
commit 68b5441b4c
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
It may be that I'm simply misunderstanding something, but what is the rationale
for having `tagged()` also match normal wikilinks?
The following situation. I have `tagbase => 'tag'`. On some pages, scattered
over the whole wiki, I use `\[[!tag open_issue_gdb]]` to declare that this page
contains information about an open issue with GDB. Then, I have a page
`/tag/open_issues_gdb.mdwn` that essentially contains `\[[!map
pages="tagged(open_issue_gdb)"]]`. So far, so good: this page indeed does list
all pages that are tagged like this. But now, when I add in `/gdb.mdwn` a link
to this page, like `\[[Open Issues|tag/open_issue_gdb]]`, then `/gdb.mdwn`
itself shows up in the map on `tag/open_issues_gdb.mdwn`. In my understanding
this is due to the wikilink being equal to a `\[[!tag ...]]`. What's the
rationale on this, or what am I doing wrong, and how to achieve what I want?
--[[tschwinge]]