Add Parsoid as a library dependency

As Parsoid (including its integration with core) is still in active
development, we are using a '^0.12.0' version constraint for now.
This allows us to update Parsoid on both the production cluster and
the Parsoid cluster by updating the mediawiki-vendor repository
(composer.json/composer.lock/etc) without requiring further weekly
changes to core's `composer.json`.  We will convert this loose
constraint to a standard precise constraint when we branch core for
release.

This commit just adds parsoid as a library.  A follow-on commit
(Ie336f69692317d7a714809b42e035fb188e66fc0) then removes the auto-
loading of Parsoid from the Parsoid extension.

This patch doesn't (yet) create any specific uses of Parsoid from
the core codebase, but that is expected to follow rapidly once
we work through this initial deploy/release process hurdle.

Bug: T213494
Bug: T239660
Bug: T240055
Depends-On: I4c0367d6424513767751a2fc1dbe882250bef242
Change-Id: I8b3d3591b9a4f2a48ac83e1d242755c43b223aba
This commit is contained in:
C. Scott Ananian 2020-02-13 12:03:07 -05:00
parent 3b0b9aa8ad
commit 15e0e9bb4b
2 changed files with 3 additions and 0 deletions

View file

@ -113,6 +113,7 @@ For notes on 1.34.x and older releases, see HISTORY.
* Added doctrine/dbal 2.9.3 (dev-only).
* Added wikimedia/ip-utils 1.0.0.
* Added vuejs v2.6.11.
* Added wikimedia/parsoid 0.12.0.
* …
==== Changed external libraries ====

View file

@ -16,6 +16,7 @@
"irc": "irc://irc.freenode.net/mediawiki",
"wiki": "https://www.mediawiki.org/"
},
"prefer-stable": true,
"require": {
"composer/semver": "1.5.0",
"cssjanus/cssjanus": "1.3.0",
@ -46,6 +47,7 @@
"wikimedia/ip-utils": "1.0.0",
"wikimedia/less.php": "1.8.2",
"wikimedia/object-factory": "2.1.0",
"wikimedia/parsoid": "^0.12.0@alpha",
"wikimedia/password-blacklist": "0.1.4",
"wikimedia/php-session-serializer": "1.0.7",
"wikimedia/purtle": "1.0.7",