mediawiki-extensions-Visual.../modules/parser
Gabriel Wicke 72c5efedb8 Rename data-rt to data-parsoid
* Quite unique according to google, and more obvious
* Also adjust parserTests to ignore mw:Nowiki and mw:Placeholder spans

Change-Id: I340e85092b60a65b4053a40bf8c238e26cb49c96
2012-07-26 15:27:32 -07:00
..
html5 Update patched html5 library to version 0.3.8 2012-06-06 10:17:03 +02:00
test Rename data-rt to data-parsoid 2012-07-26 15:27:32 -07:00
COPYING Document GPL license for Parsoid 2012-07-18 20:14:13 -07:00
core-upgrade.js Addressed review comments from recently merged debug_output branch. 2012-07-24 13:05:04 -05:00
ext.Cite.js Renamed ext.Util.js to mediawiki.Util.js 2012-07-24 13:07:53 -05:00
ext.cite.taghook.ref.js Renamed ext.Util.js to mediawiki.Util.js 2012-07-24 13:07:53 -05:00
ext.core.AttributeExpander.js In trace mode, wrap transform to output trace info 2012-07-20 18:12:37 -05:00
ext.core.BehaviorSwitchHandler.js Implement plain image mw:Image and eliminate data-gen 2012-07-24 10:55:12 -07:00
ext.core.LinkHandler.js Merge "Use various RDFa types for links" 2012-07-24 20:17:42 +00:00
ext.core.ListHandler.js Renamed ext.Util.js to mediawiki.Util.js 2012-07-24 13:07:53 -05:00
ext.core.NoIncludeOnly.js In trace mode, wrap transform to output trace info 2012-07-20 18:12:37 -05:00
ext.core.ParserFunctions.js Fix padleft / padright (mis)use as substr 2012-06-04 11:30:45 +02:00
ext.core.PostExpandParagraphHandler.js Renamed ext.Util.js to mediawiki.Util.js 2012-07-24 13:07:53 -05:00
ext.core.QuoteTransformer.js In trace mode, wrap transform to output trace info 2012-07-20 18:12:37 -05:00
ext.core.Sanitizer.js Rename data-rt to data-parsoid 2012-07-26 15:27:32 -07:00
ext.core.TemplateHandler.js Renamed ext.Util.js to mediawiki.Util.js 2012-07-24 13:07:53 -05:00
ext.util.TokenCollector.js In trace mode, wrap transform to output trace info 2012-07-20 18:12:37 -05:00
mediawiki.ApiRequest.js Add ApiRequest 2012-06-02 16:52:51 +02:00
mediawiki.DOMConverter.js
mediawiki.DOMPostProcessor.js Renamed ext.Util.js to mediawiki.Util.js 2012-07-24 13:07:53 -05:00
mediawiki.HTML5TreeBuilder.node.js Rename data-rt to data-parsoid 2012-07-26 15:27:32 -07:00
mediawiki.LinearModelConverter.js Rename data-rt to data-parsoid 2012-07-26 15:27:32 -07:00
mediawiki.parser.defines.js Add generic attribute accessors 2012-07-25 11:58:24 -07:00
mediawiki.parser.environment.js Renamed ext.Util.js to mediawiki.Util.js 2012-07-24 13:07:53 -05:00
mediawiki.parser.js Big token transform framework overhaul part 2 2012-05-15 17:05:47 +02:00
mediawiki.Title.js Renamed ext.Util.js to mediawiki.Util.js 2012-07-24 13:07:53 -05:00
mediawiki.tokenizer.peg.js Tokenizer backtracking cache bug fix and memory savings 2012-06-01 12:53:49 +02:00
mediawiki.TokenTransformManager.js Renamed ext.Util.js to mediawiki.Util.js 2012-07-24 13:07:53 -05:00
mediawiki.Util.js Renamed ext.Util.js to mediawiki.Util.js 2012-07-24 13:07:53 -05:00
mediawiki.wikitext.constants.js Added missing var keyword 2012-07-20 18:12:37 -05:00
mediawiki.WikitextSerializer.js Rename data-rt to data-parsoid 2012-07-26 15:27:32 -07:00
package.json Parsoid: move tests/parser to modules/parser/test 2012-07-25 02:29:25 +02:00
parse.js Added html2wt command-line option to parse.js 2012-07-24 10:30:44 -05:00
pegTokenizer.pegjs.txt Additional work on readable tokenizer debug output 2012-07-20 18:12:37 -05:00
README.txt As much as I have loved writing Makefiles... I've replaced its functionality with package.json, mostly so we can avoid non-node dependencies. This is one of the recommended practices. We should consider moving tests/parser into modules/parser/tests, other node projects keep all module code in one directory. 2012-04-04 11:02:58 -07:00

A combined Mediawiki and html parser in JavaScript running on node.js. Please
see (https://www.mediawiki.org/wiki/Future/Parser_development) for an overview
of the current implementation, and instructions on running the tests.

You might need to set the NODE_PATH environment variable,
  export NODE_PATH="node_modules"

Download the dependencies:
  npm install

Run tests:
  npm test