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.
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Generate internal links locally | mediawiki/extensions/VisualEditor | master | +25 -3 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Declined | None | T132023 VisualEditor support for editing inside CollaborationKit | |||
| Open | Feature | None | T138636 Allow using VisualEditor on Special:MassMessage | ||
| Open | None | T138642 VisualEditor should provide a clean integrated VE/WT editor widget that can be integrated into any context | |||
| Resolved | None | T130400 (Actually) Add wikitext support for citoid for automatic reference insertion | |||
| Open | None | T90864 "Publish changes" button poorly discoverable for VisualEditor users switching to classic (wikitext) editor | |||
| Open | None | T171974 Improve and consolidate our unified editing platform so that it's great on all devices | |||
| Resolved | None | T104479 Provide a modern wikitext editor ("2017 wikitext editor") | |||
| Declined | None | T142523 Provide a second version of a beta modern wikitext editor integrated into the visual editor | |||
| Resolved | ppelberg | T147230 Generate links locally in NWE (new wikitext editor) in trivial cases |
Event Timeline
Comment Actions
WikiEditor seems to think the only thing that needs escaping is two or more close square brackets, so this should be quite simple.
Comment Actions
Change 550351 had a related patch set uploaded (by Esanders; owner: Esanders):
[mediawiki/extensions/VisualEditor@master] Generate internal links locally
Comment Actions
Change 550351 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Generate internal links locally
Comment Actions
@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.