mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
b89f5071e5
* After installing Parsoid (sudo npm install -g in modules/parser), run 'node server.js' from the api directory and navigate to http://localhost:8000/ and follow the directions. You can start to navigate the English wikipedia at http://localhost:8000/Main_Page, or manually enter wikitext or HTML DOM to convert. * Uses the express framework, could also use just connect * Uses the cluster module to manage workers per-core and restart those on failure Change-Id: I443f2996ed3df00826b038b7476a2f966ab0c425
31 lines
667 B
JSON
31 lines
667 B
JSON
{
|
|
"name": "mediawiki-parsoid",
|
|
"description": "Mediawiki parser for the VisualEditor.",
|
|
"version": "0.0.1",
|
|
"dependencies": {
|
|
"events": "0.x.x",
|
|
"jquery": "1.x.x",
|
|
"request": "2.x.x",
|
|
"querystring": "0.x.x",
|
|
"path": "0.x.x",
|
|
"jshashes": "0.x.x",
|
|
"optimist": "0.x.x",
|
|
"assert": "0.x.x",
|
|
"jsdom": "0.x.x",
|
|
"pegjs": "0.x.x",
|
|
"lru-cache": "1.x.x",
|
|
"async": "0.x.x",
|
|
"express": "2.5.x"
|
|
},
|
|
"devDependencies": {
|
|
"colors": "0.x.x",
|
|
"diff": "1.x.x",
|
|
"html5": "0.x.x"
|
|
},
|
|
"main": "mediawiki.parser.js",
|
|
"scripts": {
|
|
"pretest": "node ../../tests/parser/fetch-parserTests.txt.js",
|
|
"test": "node ../../tests/parser/parserTests.js"
|
|
}
|
|
}
|