Currently linking to pages inside of a wiki takes place automatically with a regular expression based on page titles. This can cause a few edge-case problems:
I believe that there should be a way to fix both of these problems, whether it's Wiki markup, Macros, or a plugin to the TinyMCE. I believe that Wiki markup would be the easiest to implement, while the TinyMCE plugin would be the most elegant and intuitive (if it's even possible), however I'll take any solution at all.
Hey Doug, you convinced me to spend some karma here. Honestly, I did not care a lot about misleading links so far. But since wikis are probably the backbone of many communities these days this is worth improving.
Considering automatic link generation I suggest to give authors more control. Possibly authors could be granted permission on a per page basis whether they want automatic link generation or not. They could further be allowed to choose whether webgui should scan for whole words only, for words that start with the name of a page or all words that contain the name of a page. In addition one should be able to create links manually by some kind of mark-up.
If you like one could further add some kind of markup to prevent automatic link generation. However, this seems rather inefficient to me since other people keep adding pages and you never know what is going to recognized as a link next.