Page MenuHomePhabricator

Edit Cards v3: pre-fill URI in external link URL input field
Open, Needs TriagePublic

Details

Related Gerrit Patches:
mediawiki/extensions/VisualEditor : masterUse UrlInputWidget for external links
VisualEditor/VisualEditor : masterCreate UrlInputWidget that auto-completes protocols

Event Timeline

ppelberg created this task.Aug 5 2019, 3:52 PM
Restricted Application added a project: VisualEditor. · View Herald TranscriptAug 5 2019, 3:52 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

We can add some autocomplete options that are just protocols ("http://", "https://", "ftp://", etc) then if a user types "h" they can tap "https://", then just continue typing.

We could even add "http(s)://www." to the list.

Change 528417 had a related patch set uploaded (by Esanders; owner: Esanders):
[VisualEditor/VisualEditor@master] Create UrlInputWidget that auto-completes protocols

https://gerrit.wikimedia.org/r/528417

Change 528418 had a related patch set uploaded (by Esanders; owner: Esanders):
[mediawiki/extensions/VisualEditor@master] Use UrlInputWidget for external links

https://gerrit.wikimedia.org/r/528418

Esanders claimed this task.Aug 6 2019, 10:29 AM
Esanders edited projects, added VisualEditor (Current work); removed VisualEditor.
Esanders moved this task from Incoming to Code review on the VisualEditor (Current work) board.