Make some sort of query using the template format of cargo. Use it with a translcuded {{special:RunQuery/foo}}. Note how are the links are gone.
It seems like the cause is parsing the result of ->internalParse. The second parse strips out all the link holders. As a result, all links disappear.