dokufreaks / plugin-include

A DokuWiki plugin for including other wiki pages into the current one.
http://www.dokuwiki.org/plugin:include
GNU General Public License v2.0
62 stars 54 forks source link

Is it possible setting multiple tags in tagtopic? #291

Closed wataradio closed 1 year ago

wataradio commented 1 year ago

Is it possible setting multiple tags in tagtopic?

For example, if I set tagtopic like below;

{{tagtopic>2023 minutes}}

I expect pages with tags "2023" and "minutes" are shown.

fiwswe commented 1 year ago

Seems to me that this is working fine already. Did you actually try it?

BTW: The Include Plugin delegates finding the relevant pages to the Tag Plugin. So the question is actually: Does https://github.com/dokufreaks/plugin-tag/blob/d4b003e4ebaf0a58926ec3efbd78798e5876153d/helper.php#L243:333 allow multiple tags?

My Test environment:

wataradio commented 1 year ago

Thank you for your reply.

According to your advice, I read Tag plugin's manual, and my question was solved.

As you say, it worked fine. I didn't know the Tag Plugin's default search operation is 'OR'. For 'AND' operation, a modifier '+' is needed to prepend to each tag like as follows.

{{tagtopic>2023 +minutes}}