mediawiki-extensions-Visual.../modules/parser
Gabriel Wicke 0b8d1b0387 * Add custom toString methods for tokens to aid debugging
* Convert all attributes into strings in Sanitizer
* Use strict comparison against empty string in tokenizer
* Add very simple sitename parserfunction
* 138 tests passing
2012-02-13 17:02:23 +00:00
..
html5 Land big TokenTransformDispatcher and eventization refactoring. 2012-01-03 18:44:31 +00:00
ext.Cite.js Change token format to plain strings for text tokens, and specific objects for 2012-02-01 16:30:43 +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 * Add custom toString methods for tokens to aid debugging 2012-02-13 17:02:23 +00:00
ext.core.PostExpandParagraphHandler.js Move data-* annotations into separate object on tokens, that is then 2012-02-11 16:43:25 +00:00
ext.core.QuoteTransformer.js Clean up transform callback interface 2012-02-07 11:53:29 +00:00
ext.core.Sanitizer.js * Add custom toString methods for tokens to aid debugging 2012-02-13 17:02:23 +00:00
ext.core.TemplateHandler.js Strip trailing newlines from included templates 2012-02-13 14:17:03 +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 Collapse all requests per template into a single outstanding request using an 2012-01-20 02:36:18 +00:00
mediawiki.DOMPostProcessor.js Move data-* annotations into separate object on tokens, that is then 2012-02-11 16:43:25 +00:00
mediawiki.HTML5TreeBuilder.node.js Move data-* annotations into separate object on tokens, that is then 2012-02-11 16:43:25 +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 Add some support for ideographic spaces in external links, support the 2012-02-13 13:35:46 +00:00
mediawiki.parser.js Move attribute expansion back to separate handler, as this makes it easier to 2012-02-09 13:44:20 +00:00
mediawiki.tokenizer.peg.js Change token format to plain strings for text tokens, and specific objects for 2012-02-01 16:30:43 +00:00
mediawiki.TokenTransformManager.js * Add custom toString methods for tokens to aid debugging 2012-02-13 17:02:23 +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 * Add custom toString methods for tokens to aid debugging 2012-02-13 17:02:23 +00:00
README.txt Remove some modules normally bundled with node.js from dependencies, and 2012-02-01 10:32:33 +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 (implicitly installed by jsdom)
assert

The following additional modules are used in parserTests:

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