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

Screen Shot 2016-02-15 at 9.48.33 AM.png (197×502 px, 24 KB)

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:

Screen Shot 2016-02-15 at 9.48.59 AM.png (202×698 px, 20 KB)

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

Result:

Screen Shot 2016-02-15 at 9.53.57 AM.png (200×585 px, 29 KB)

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:

Screen Shot 2016-02-15 at 9.54.52 AM.png (80×515 px, 16 KB)

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:

Screen Shot 2016-02-15 at 9.57.53 AM.png (199×572 px, 29 KB)

Screen Shot 2016-02-15 at 9.58.24 AM.png (161×519 px, 22 KB)

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