Wikitext links

So typing something like Link Here (with parens) works -- Link Here.

But, if I use a gallery tag: thus

It doesn't.