Replaces linkTitles with Link ids but doesn't differentiate between internal and external links