Page MenuHomePhabricator

Generate links locally in NWE (new wikitext editor) in trivial cases
Closed, ResolvedPublic1 Estimated Story Points

Description

We round-trip to Parsoid to generate links as edge cases can require weird syntax, but if we can come up with a way to quickly filter for simple cases (i.e. [[text]]) we could do those locally.

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 Freezer on the VisualEditor board.

WikiEditor seems to think the only thing that needs escaping is two or more close square brackets, so this should be quite simple.

Change 550351 had a related patch set uploaded (by Esanders; owner: Esanders):
[mediawiki/extensions/VisualEditor@master] Generate internal links locally

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

Change 550351 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Generate internal links locally

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

@Ryasmeen In new wikitext editor, closing the link inspector to insert an internal link should be instant, and should not display a popup with a progressbar while doing network requests.

ppelberg claimed this task.