Find all wiki links and detect circlular dependencies correctly