make wikilink renaming work for renamed java elements