Page MenuHomePhabricator

enable wikieditor insert link function to reformat internal title names
Open, Needs TriagePublicFeature

Description

Feature summary (what you would like to be able to do):
When using the WikiEditor, if an external link is being converted to an internal page name - reformat the destination to un-percentage-encode and strip underscores from the destination. Note: While underscores will work, percentage-encoded currently makes the process fail as the percentage is invalid in the title name.

Steps to reproduce (a list of clear steps to create the situation that made you report this, including full links if applicable):

  • Use the insert tool bar link button
  • Put in a percent-encoded internal link (or one with underscores)
  • Select that you want this to be "to an external web page"
  • Click Insert Link
  • Get the intercept dialog that this may be internal, asking if you want it to be an internal link
  • Select "Internal link"
  • STOP - This is where you are stuck if you use a percentage encode, and/or where you preserve unwanted underscores

Use case(s) (describe the actual underlying problem which you want to solve, and not only a solution):

  • Allow editors to better make use of this tool when copy/pasting links from browser address bars, etc.