As I wrote on the STYLE-835 ticket:
An entity should only be linked to a Wikipedia (or Wikidata) page that is indeed for the entity in question. This follows from these two guideline segments: “The URL should still be specific to the entity being linked” (although this is mostly meant as “do not link to too wide pages”) and “Points to the Wikipedia page for this artist”.
This suggests that we should block linking to anchors in Wikipedia pages.
Generally, this is being used to point to things like a section for a particular member of a group, or a particular album, on the page for the group as a whole. This not only goes against the previous idea of a 1:1 matching between page and entity but also causes other problems, like MBS-9463 (the abstract extracted is of course for the page, not the section linked, which does not itself have an abstract). Additionally, since sections of a page do not get Wikidata pages, anchors will in any case be lost once we finish a migration from Wikipedia to Wikidata.
I am opening this to see if there’s any big problems I’m missing regarding this change, although unless a solution is offered with regard to the Wikidata migration dropping anchors anyway, it might very well be a moot point to be honest.