We cannot add a section anchor of the current page.
T52881 has been partially fixed. But if we do not precise the name of the page (for default current page), it produces a bug.
- Insert a link with VisualEditor.
- In the input, type #name of a section of current page
- Expected generated wikitext: [[#name of section|some text]]
- Current VisualEditor overview: suggestions are the first articles of list by alphabetical order and after "Done" pressing it displays a red link and the message "page does not exist yet"
- Current generated wikitext (in "review your changes"): [[some text]]