mediawiki-extensions-Visual.../modules/parser
au 9c55f5e8b7 * Always sort attributes (+1 test pass).
The performance impact for .sort is quite small (12.079s => 12.158s)
  and Sanitizer is probably one of the more accessible places to do this.
2012-02-18 21:01:07 +00:00
..
html5
ext.Cite.js Replace console.log with console.warn in all debug statements 2012-02-14 20:56:14 +00:00
ext.cite.taghook.ref.js
ext.core.AttributeExpander.js Some comments and reshuffling in the grammar, and a typo in the 2012-02-09 22:27:45 +00:00
ext.core.NoIncludeOnly.js Move data-* annotations into separate object on tokens, that is then 2012-02-11 16:43:25 +00:00
ext.core.ParserFunctions.js Detail comments about next steps and divide parser functions in those that 2012-02-17 10:23:14 +00:00
ext.core.PostExpandParagraphHandler.js Replace console.log with console.warn in all debug statements 2012-02-14 20:56:14 +00:00
ext.core.QuoteTransformer.js Replace console.log with console.warn in all debug statements 2012-02-14 20:56:14 +00:00
ext.core.Sanitizer.js * Always sort attributes (+1 test pass). 2012-02-18 21:01:07 +00:00
ext.core.TemplateHandler.js Replace console.log with console.warn in all debug statements 2012-02-14 20:56:14 +00:00
ext.Util.js Remove type attribute for tag tokens. 2012-02-01 18:37:48 +00:00
ext.util.TokenCollector.js Clean up transform callback interface 2012-02-07 11:53:29 +00:00
mediawiki.DOMConverter.js Replace console.log with console.warn in all debug statements 2012-02-14 20:56:14 +00:00
mediawiki.DOMPostProcessor.js Replace console.log with console.warn in all debug statements 2012-02-14 20:56:14 +00:00
mediawiki.HTML5TreeBuilder.node.js Replace console.log with console.warn in all debug statements 2012-02-14 20:56:14 +00:00
mediawiki.parser.defines.js * Add custom toString methods for tokens to aid debugging 2012-02-13 17:02:23 +00:00
mediawiki.parser.environment.js Replace console.log with console.warn in all debug statements 2012-02-14 20:56:14 +00:00
mediawiki.parser.js Replace console.log with console.warn in all debug statements 2012-02-14 20:56:14 +00:00
mediawiki.tokenizer.peg.js Replace console.log with console.warn in all debug statements 2012-02-14 20:56:14 +00:00
mediawiki.TokenTransformManager.js Replace console.log with console.warn in all debug statements 2012-02-14 20:56:14 +00:00
parse.js Remove WikiDom default serialization and --html argument from parse.js 2012-02-11 17:59:17 +00:00
pegTokenizer.pegjs.txt Reject match for invalid urlencoded code points. 2012-02-16 13:57:56 +00:00
README.txt request is automatically installed by jsdom. Follow-up to r111459. Thanks 2012-02-14 14:15:50 +00: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.

npm dependencies: (This should be a proper package.json for npm to do it automatically?)

jquery
jsdom
buffer
optimist
pegjs
querystring
html5
request (also required and automatically installed by jsdom)
assert

The following additional modules are used in parserTests:

colors (for parserTests eye candy)
diff (parserTests output diffing)