mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
4b04f413fa
This copies the Parsoid extension code into includes/VEParsoid to allow a "one extension, zero-configuration" install of VisualEditor for MW's LTS release. The Parsoid code has been re-namespaced (`VEParsoid` instead of `MWParsoid`) to avoid autoloader conflicts if you actually install Parsoid as an extension (as we do in Wikimedia production). Similarly, we arrange that the ServiceWiring and RestRoutes configurations are skipped unless running in zeroconf mode, to avoid conflicts with the Parsoid extension. This import matches Parsoid commit b30f223. Bug: T248343 Change-Id: Ic63ce40f59c4be8f4fdc5f9ac17798353fc86866 |
||
---|---|---|
.. | ||
src | ||
parsoidRoutes.json | ||
README.md | ||
ServiceWiring.php |
This code exports a REST API for Parsoid. It is a temporary mechanism to connect VE and Parsoid, which will eventually be replaced by direct communication as Parsoid is integrated in MediaWiki core.
Any patches must be submitted and merged into the Parsoid repo (mediawiki/services/parsoid.git) first, before being applied here, to avoid implementation drift.
Note that, unlike the rest of this repo, this code is licensed under GPL 2.0+.