Steps to reproduce:
Goal: Make a link that results in [[Special:Preferences#mw-prefsection-editing]]
1) Type [[
2) Paste in Special:Preferences#mw-prefsection-editing
3) "Insert" the link.
Result: It //looks like// it produced [[Special:Preferences#mw-prefsection-editing|Special:Preferences]].
{F3361578}
I grant that this would be an improvement over [[Special:Preferences|Special:Preferences#mw-prefsection-editing]],
However: It's not what I want, and it's also not what I'm going to get when I save the page:
{F3361582}
So:
4) Click inside the link area (inside the blue/context menu showing).
5) Paste `#mw-prefsection-editing`
Result:
{F3361593}
From looking at the context menu, it looks like I'm going to get something like this: `[[Special:Preferences#mw-prefsection-editing|Special:Preferences]]<nowiki/>#mw-prefsection-editing`.
However, the resulting wikitext will actually look like this:
{F3361597}
So I'll try this: I'll type some words in the middle of the link, and paste the `#mw-prefsection-editing` into the middle. Then if that works, I should be able to backspace over the text that I don't want, and be happy (until I remember that the link is broken underneath, even though the context menu says it's perfect).
Result:
{F3361604}
{F3361611}
(Or `You can change these preferences at any time, by going to [[Special:Preferences|Special:Preference test]]#mw-prefsection-editing[[Special:Preferences|test s]]` if you add "testtest" with no spaces in your test.)
Workaround: Go back to wikitext.