Here is a small plugin that should solve your problem: https://github.com/turnermm/Dokuwiki-skip-entity