Steps to reproduce:
- Add a link to a word: [[Author]]
- Make it a section link: [[Author#Famous ones]]
- Save the page.
- See that the section part of the link was silently dropped: [[Author]].
I don't think this is T55219: VisualEditor: [Regression] Link inspector prevents insertion of section links, because the link inspector seems to work just fine:
This is reproducible in multiple browsers, OSes, and wikis.