The discussion revolves around replacing special text to linkify wiki links on posts. Paracelsus explains that after migrating from SMF, wiki links in the format [wiki]Idrissa Doumbia[/wiki] are no longer converted to links. hellekin suggests using the Linkify Words in Post theme component with a specific setting, which Paracelsus confirms works but has an issue with the link title. danekhollas mentions having a version of Linkify that can convert text and offers to help. Later, danekhollas provides a potential fix by modifying the Linkify theme code to correctly display the link title.
Hi, this is more like a question on how-to do something…
So, besides our forum we have a wiki (mediawiki) and in several of our topics we post links to that wiki.
Now, we just came from an SMF migration where the links were generated as bbcode, like this: [wiki]Idrissa Doumbia[/wiki]
converted automatically to https://www.forumscp.com/wiki/index.php?title=Idrissa Doumbia
My question is, with Discourse these links are lost, meaning that what we see in topics are the bbcode tags with no linking. So I was wondering what would be the best strategy to put them working once again. Linkify component (haven’t really checked if this is the goal with that component)? Replacing text through rails (is it possible with these special characters and maintaining the string between the wiki tags to create the link)? Any other ideas?
Thanks. It works very well, the link is being generated as it should, the only problem is that the link title is [wiki]something-here[/wiki] instead of converting it to text something-here