mediawiki-extensions-Visual.../api
Gabriel Wicke 1d2866f105 Experimental /_rtve/ round-trip test mode for web API
This mode strips all newlines from the html source before serializing it back
to wikitext, thus simulating newline-less DOM output from the VE. This
simplistic method also strips newlines in preformatted text, which will show
up as noise in the diff. This simple mode is still useful for the
identification of basic newline-less DOM serialization issues.

An improved version could try to approximate the VE's behavior more closely by
only stripping some newlines.

Due to the experimental nature this mode is not linked from the index page for
now.

Change-Id: I1dfec7ec3e6c12b7de4bbb9ff6f2d8b7834e2857
2012-06-18 11:25:21 -07:00
..
ParserService.js Experimental /_rtve/ round-trip test mode for web API 2012-06-18 11:25:21 -07:00
README.runserver.txt Fix an external link regression, and add server shell wrapper and setup docs 2012-05-23 16:25:42 +02:00
runserver.sh Improve shell wrapper for parsoid service 2012-05-24 10:24:14 +02:00
server.js Start slightly more workers than there are CPUs 2012-05-23 16:46:08 +02:00

== Installation on Ubuntu VM ==

apt-get update
apt-get install nodejs npm git build-essential
npm install -g express html5 lru-cache jquery pegjs async jshashes
adduser --system --home /var/lib/parsoid parsoid
cd /var/lib/parsoid
git clone
https://gerrit.wikimedia.org/r/p/mediawiki/extensions/VisualEditor.git
cd VisualEditor/api
./runserver.sh