Page MenuHomePhabricator

Move VE API from RESTBase into core.
Closed, ResolvedPublic1 Estimated Story Points

Description

Currently VisualEditor depends on RESTBase for performance, correctness (avoiding dirty diffs) and certain features (wikitext<->VE edit switching). After Parsoid was migrated to MediaWiki core, having RESTBase as a caching/stashing layer for VisualEditor no longer makes sense.

The goal of this task and it's subtasks it to support all RESTBase features needed by VisualEditor in MediaWiki core or VE extension.

VisualEditor depends on the following GET endpoints in RESTBase

We already have corresponding endpoints in MediaWiki core, but some features are missing. Missing features:

  • Language variant support T317019
  • Stash for edit T267990
  • Ability to either follow or suppress on-wiki redirects T301372

Additionally, VisualEditor depends on the following transform endpoints:

These endpoints don't need to be moved to restbase one-to-one, we might want to redesign how these work in process.

Related Objects

StatusSubtypeAssignedTask
Resolveddaniel
StalledNone
In ProgressNone
ResolvedMSantos
ResolvedMSantos
InvalidNone
Resolveddaniel
Resolved Pchelolo
Resolved WDoranWMF
Resolved Pchelolo
ResolvedNone
ResolvedNone
Resolveddaniel
OpenNone
DuplicateNone
Resolveddaniel
Resolveddaniel
ResolvedDAlangi_WMF
Resolveddaniel
InvalidNone
InvalidNone
DuplicateNone
DuplicateNone
Resolved eprodromou
Resolved Pchelolo
Resolved Pchelolo
ResolvedMSantos
Resolveddaniel
ResolvedNone
OpenNone
Resolveddaniel
Resolveddaniel
Resolveddaniel
ResolvedMSantos
Resolvedcscott
Resolvedcscott
OpenNone
ResolvedDAlangi_WMF
ResolvedDAlangi_WMF
Resolvedppelberg
Resolveddaniel
ResolvedNone
Resolveddaniel
ResolvedDAlangi_WMF
DuplicateNone
DuplicateNone
ResolvedMSantos
Resolveddaniel
ResolvedNone
ResolvedNone
Resolveddaniel
ResolvedNone
ResolvedNone
Resolveddaniel
Resolveddaniel
ResolvedNone
ResolvedNone
Resolvedmatmarex
ResolvedPRODUCTION ERRORdaniel
Resolveddaniel
DuplicatexSavitar
Resolveddaniel
Resolveddaniel
ResolvedNone
Resolvedovasileva
Declined nray
ResolvedDAlangi_WMF
Resolvedssastry
Resolveddaniel
Resolveddaniel
ResolvedClement_Goubert
Resolveddaniel
ResolvedKrinkle
Resolveddaniel
Resolveddaniel
Resolveddaniel
Resolveddaniel
ResolvedKCVelaga_WMF
Resolveddaniel
ResolvedDAlangi_WMF
Resolved R_Rana

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes
DAbad added subscribers: nnikkhoui, DAbad.

Derick will be taking over this from Nikki.

Change 802586 had a related patch set uploaded (by D3r1ck01; author: Derick Alangi):

[mediawiki/core@master] Rest: Remove {domain} param from TransformHandler

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

daniel raised the priority of this task from High to Unbreak Now!.Jul 27 2022, 10:22 AM
daniel lowered the priority of this task from Unbreak Now! to Needs Triage.
daniel triaged this task as High priority.
daniel added a subscriber: DAlangi_WMF.
MSantos claimed this task.

At this point, VE is already using Parsoid directly without the REST layer as per T320529: Configure VE backend to use Parsoid directly, instead of calling RESTbase. The remainder tickets here are not needed for the epic completion so I'm closing it. Please let me know in case I'm missing something.