Page MenuHomePhabricator

Pasting URLs is slow in new wikitext editor
Closed, ResolvedPublic1 Estimated Story Points

Description

Every time I paste an URL, the editor does an API request (to check whether it can be rewritten as an internal link, I suppose). The delay is noticeable and quickly gets annoying when working with sourced. It can be avoided with Ctrl-Shift-V but I wonder how many users are aware of that...

I imagine it wouldn't be hard to just fetch a regex of interwiki domains and only do the API request if it matches.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Jdforrester-WMF set the point value for this task to 1.
Jdforrester-WMF moved this task from To Triage to TR1: Releases on the VisualEditor board.
Jdforrester-WMF subscribed.

We're intentionally keeping the client as dumb as possible and keeping the magic in only one place. Maybe.

I think T163237 was a duplicate of this, and thus this one is fixed as well?

Jdforrester-WMF assigned this task to DLynch.

I think T163237 was a duplicate of this, and thus this one is fixed as well?

Yup, despite the title not mentioning it, the fix made these local whenever possible (and so faster).