mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
1d2866f105
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 |
||
---|---|---|
.. | ||
ParserService.js | ||
README.runserver.txt | ||
runserver.sh | ||
server.js |
== 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