This could be a bug in the wiki module.
The anchor attributes seem to be written in the database, and only stripped for display, meaning that the culprit is not tinymce.
Text editors
Wiki's Tinymce stripping anchor tags
This discussion has been locked so you can no longer reply to it.