Page MenuHomePhabricator

Zero Config Install of VE + Parsoid for MW 1.36
Closed, ResolvedPublic

Description

For zero config install of VE + Parsoid in MediaWiki 1.35 LTS release, we hacked it by copying the REST API and Config code (everything in extension/* in Parsoid) into the VisualEditor extension directory under a different namespace. Since that was meant to be a temporary hack, we have also since removed it from VE master.

So, for 1.36 release, if we don't manage to get Parsoid callable from core via library calls (instead of the REST API as required now), we will have to put that hack back into 1.36 release as well.

This task tracks the requirement of getting one of those two solutions working for 1.36.

(The task for the 1.35 LTS release was T248343: Uncached VisualEditor w/ Parsoid/PHP (no JS, no RESTBase) for MW 1.35 LTS, and the workaround to VE was added in 4b04f413fac75e37fbf31029e30fdd0888cb4336 and removed in 49a33873232163fc79b102d7e599e07c453fe2e9.)

Event Timeline

ssastry triaged this task as Medium priority.Aug 25 2020, 4:07 PM
ssastry updated the task description. (Show Details)

RC.0 ships in a week or two's time. This needs re-doing for REL1_36 as it was removed from master.

Change 681727 had a related patch set uploaded (by Jforrester; author: C. Scott Ananian):

[mediawiki/extensions/VisualEditor@REL1_36] Zero-configuration VisualEditor + PHP for MediaWiki LTS

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

Jdforrester-WMF raised the priority of this task from Medium to Unbreak Now!.Apr 23 2021, 10:20 PM

Blocking rc.0.

Change 681727 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@REL1_36] Zero-configuration VisualEditor + PHP for MediaWiki release 1.36

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

Optimistically declaring this bit done (but we'll want to do T280270: parsoid REL1_36 branch and tag too).

Change 722439 had a related patch set uploaded (by C. Scott Ananian; author: C. Scott Ananian):

[mediawiki/extensions/VisualEditor@REL1_37] Zero-configuration VisualEditor + PHP for MediaWiki release 1.36

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

Change 722439 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@REL1_37] Zero-configuration VisualEditor + PHP for MediaWiki release 1.37

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