Unfortunately, wiki is a post-level, not a topic-level property. So, It’s not added to the topic list item model. You can use a tag or create a feature request for Discourse to add that class.
I suppose the vast majority of wikis are first posts, but I understand the post level issue.
However, having the possibility of emphasizing wikis on the topic list would be a neat addition and may incite people to visit them and maybe participate in their content.
I prefer not to rely on tags at the moment (my forum doesn’t use tags and I won’t want it to be somewhat cluttered by tag selectors and fields only to filter by wiki tags and nothing else), but I do like your component that makes wiki more obvious on the posts list.
Another thing that might work for you is manually putting an emoji as the first character of the Topic title, kind of like here:
Again, you can identify the Topics with wikis in them by using advanced search.
If someone shares some code to identify Topics which contain a wiki post or where the first post is a wiki (or both), I can roll that in to the component too.
This is an interesting suggestion again, but wouldn’t this change emojis all over the forum?
This is a very personal choice, but I find Twitter’s emoji designs fantastic. I mean… Look at the smirkiness of this smirk:
Twitter’s emojis look way better than the other sets to me. I understand that my choice should be my community’s choice in this case, but since nobody complained… I’ll stick with Twitter’s set
Since wikis on my forum aren’t overused and users don’t really know that they exist, In addition to have their title manually customized, I used Custom top navigation links to add a Wiki link in the top navigation:
I also noticed that searching for "📜 [Wiki]" in:title" instead of in:wiki in:title is way faster!
By “way faster”, I mean something like three or four time faster!
I’d be interested to know why in:wiki is that slow. About 4 seconds on my computer to show the results.
Searching with the string "📜 [Wiki]" in:title" takes about 1 second.
(and of course, I understand that I can do such a wiki search based on title keywords because I only have first posts as wikis, and I customized all their title with the same prefix).