-
|
Hey all! So for the past week i've been trying to learn how wikipedia and wikis in general that rely on Mediawiki as their website engine do these links between their pages. Whenever you're scouring through wikipedia, for example, you may see certain words get highlighted across the page. These words vae their own pages within them and usually talk more in-depth about what that term implies, see the image below:
Note that the word "North America" is being hovered by my mouse, and by clicking that i get redirected to an article about North America. This type of behaviour is very useful for wikis in general as it helps lead the end-user to that term's meaning. I think i've found a discussion about the autolinking extension from mediawiki (might be old and deprecate) I've tried multiple different approaches: Like using mkdocs material's recommended solutions, which was not a viable solution for me as i'd need to wrap each term in [] brackets, making refactoring on my wiki a very painful task, as i'd need to manually scout for these terms and wrap them with brackets myself. I've also tried different plugins too such as: https://github.com/AngryMane/mkdocs-glossary-plugin -> Which does exactly what i wanted it to do, but it relies on pandoc, which is a very expensive way to do this, making the cost effectiveness of this not worth it's usage. https://github.com/zachhannum/mkdocs-autolinks-plugin - Only simplified the process of linking pages, not actually helping it link pages based on terms. https://github.com/realtimeprojects/mkdocs-ezglossary - Just simplified the glossary system, but didn't actually do much, as i'd still need to wrap terms and refactor my huge documentation On my research i've also tried to find other people's solutions to this problem, but it seems as if it went unanswered I'm almost considering writing my own plugin, but that'd be a lot more work and i haven't even thought about how to begin that lol, |
Beta Was this translation helpful? Give feedback.

@MetalKnight56 Obsidian (with some plugins) can help a bit with it. It's much easier to create linked noted/pages in this tool. There is also a set of plugins that helps with it (I'm a creator of this) called: mkdocs-publisher.