How do you disambiguate between articles and anchors?

When you have anchors and articles with the same name, you get a disambiguation warning, and you can't make links.

You'll get a fixit for Insert '-anchor'and Insert '-article', but those just put -anchor or -article wherever your cursor is, which is kind of infuriating!

What's the real fix, and where is it documented?