Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tags in TAGCLOUD are blacklisted by stopwords.txt #80

Open
sokolgeo opened this issue Oct 19, 2021 · 1 comment
Open

Tags in TAGCLOUD are blacklisted by stopwords.txt #80

sokolgeo opened this issue Oct 19, 2021 · 1 comment
Labels

Comments

@sokolgeo
Copy link

I run the latest Dokuwiki and cloud plugin updated from repository.
In one of my Dokuwiki pages have the following code:

====== TAGS ======

~~TAGCLOUD~~

====== WORDS ======

~~CLOUD:50~~

Unfortunately both CLOUD and TAGCLOUD get their items blacklisted when I add the items into stopwords.txt

It is my understanding that

stopwords are only for the word cloud, not for the tag cloud
https://www.dokuwiki.org/plugin:cloud#stopwords_in_tag_clouds

Therefore the above behavior seems to be a bug? May be this is because both CLOUD and TAGCLOUD are placed in the same page?

Any ideas how to make stopwords.txt only impact the items in CLOUD, not in TAGCLOUD ?

Thank you

@Klap-in
Copy link
Member

Klap-in commented Aug 21, 2023

In the configurations settings are also three blacklists (word_blacklist, tag_blacklist and search_blacklist).
These allow more tailored blacklisting. The stopwords are in my understanding indeed specific for fulltext indexing, so it better to remove the stopword filter here in my opinion. I think the blacklists should be used.

Disadvantage is that such removal is not backward compatible for people already using it to manage their tag/searchcloud.

@Klap-in Klap-in added the Bug label Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants