Page MenuHomePhabricator

Can't paste #mw-prefsection-editing onto the end of a link, or in the middle
Closed, DuplicatePublic

Description

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]].


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:

So:
  1. Click inside the link area (inside the blue/context menu showing).
  2. Paste #mw-prefsection-editing

Result:


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:

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:

(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.

Event Timeline

Whatamidoing-WMF raised the priority of this task from to Needs Triage.
Whatamidoing-WMF updated the task description. (Show Details)
Whatamidoing-WMF added a subscriber: Whatamidoing-WMF.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptFeb 15 2016, 6:00 PM
Whatamidoing-WMF renamed this task from Can't paste #mw-prefsection-editing onto the end of a link to Can't paste #mw-prefsection-editing onto the end of a link, or in the middle.Feb 15 2016, 6:29 PM
Whatamidoing-WMF set Security to None.
Restricted Application added a project: VisualEditor. · View Herald TranscriptFeb 15 2016, 6:31 PM