However, it seems that the following input text:
Test - [[Test]] - Test
yields the following output:
Test - - Test
In other words, it just removes links.
On further investigation, it turned out that $wgUseCategoryMagic was
reponsible for this. Setting it to false solved this problem.
This should probably be fixed ;-)