The simplest way to get around this is by not using the [[wiki link]]
syntax for the links. You can use external link syntax with full URLs [http://like/this like this]
and make them look like regular internal links by wrapping them in a div or span with class="plainlinks"
. To make this less painful, make a template for that:
In Template:NaviLink, you would have:
<span class="plainlinks">[{{fullurle:{{{1}}}}} {{{2|{{{1}}}}}}]</span>
(yay for mediawiki's insane template syntax)
(for an exmplanation of fullurle
, see https://www.mediawiki.org/wiki/Fullurl#URL_data)
In your navigation template, you would then use e.g.:
* {{NaviLink|Efteling Golf course}}
* {{NaviLink|Haunted Castle (Efteling)|Haunted Castle}}
Instead of the NaviLink template, you could also implement a parser function (not a hook) that outputs the HTML for the desired link, without putting anything into the database. I don't see why you would do this, but if you want to, have a look at https://www.mediawiki.org/wiki/Manual:Parser_functions.
PS: internalParse is not called separately for included bits of text. Template expansion is done by the preprocessor before the actual parser is run on the resulting wikitext.