mediawiki-extensions-Visual.../modules/parser
Gabriel Wicke 3f7c1499cd Enable support for general preprocessor functionality in attribute keys and
values. This includes comments, templates and template arguments.

This also replaces the specialized expansion logic in the TemplateHandler. The
removal of link validation lets one more parser test fail for now. External
link target validation will need to be implemented in the token stream handler
for links. This is noted as TODO in
https://www.mediawiki.org/wiki/Future/Parser_development#Token_stream_transforms.
2012-02-08 15:10:30 +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 Moving parser stuff back into the modules folder (oops) 2011-11-02 21:45:57 +00:00
ext.core.NoIncludeOnly.js A few more debug helpers including a --trace mode for light debugging. Some 2012-01-31 16:50:16 +00:00
ext.core.ParserFunctions.js Enable support for general preprocessor functionality in attribute keys and 2012-02-08 15:10:30 +00:00
ext.core.PostExpandParagraphHandler.js Clean up transform callback interface 2012-02-07 11:53:29 +00:00
ext.core.QuoteTransformer.js Clean up transform callback interface 2012-02-07 11:53:29 +00:00
ext.core.Sanitizer.js Enable support for general preprocessor functionality in attribute keys and 2012-02-08 15:10:30 +00:00
ext.core.TemplateHandler.js Enable support for general preprocessor functionality in attribute keys and 2012-02-08 15:10:30 +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 Use isBlockTag in DOMPostProcessor 2012-01-17 18:30:22 +00:00
mediawiki.HTML5TreeBuilder.node.js Remove type attribute for tag tokens. 2012-02-01 18:37:48 +00:00
mediawiki.parser.defines.js Improve toJSON handlers to include all properties 2012-02-06 19:12:29 +00:00
mediawiki.parser.environment.js Temporarily disable the sanitizer and start to support preprocessor 2012-02-06 19:15:44 +00:00
mediawiki.parser.js Pluck a few low-hanging fruit in external link tokenization, and add a simple 2012-02-07 10:28:23 +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 Enable support for general preprocessor functionality in attribute keys and 2012-02-08 15:10:30 +00:00
parse.js A few more debug helpers including a --trace mode for light debugging. Some 2012-01-31 16:50:16 +00:00
pegTokenizer.pegjs.txt Enable support for general preprocessor functionality in attribute keys and 2012-02-08 15:10:30 +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)