mediawiki-extensions-Visual.../modules/parser
Gabriel Wicke 0fe062fbe1 JSHint cleanups and parser function argument handling improvements
Parser functions which only accept positional arguments now return both the
key and value of arguments. Complete attributes (key and value) for templates
and the like from parser functions are not yet supported though.

Change-Id: I3f81bb35acd27186222ce6d5217e820042527c01
2012-04-03 18:10:48 +02:00
..
html5
ext.Cite.js Token representation clean-up. Now all tokens are differentiated using 2012-03-07 20:06:54 +00:00
ext.cite.taghook.ref.js
ext.core.AttributeExpander.js
ext.core.LinkHandler.js Move link types to data-mw-rt, and support some more template tokenization 2012-03-13 12:32:31 +00:00
ext.core.NoIncludeOnly.js Token representation clean-up. Now all tokens are differentiated using 2012-03-07 20:06:54 +00:00
ext.core.ParserFunctions.js JSHint cleanups and parser function argument handling improvements 2012-04-03 18:10:48 +02:00
ext.core.PostExpandParagraphHandler.js Token representation clean-up. Now all tokens are differentiated using 2012-03-07 20:06:54 +00:00
ext.core.QuoteTransformer.js
ext.core.Sanitizer.js Shorten data-mw-rt to data-mw and clean up whitelist 2012-04-02 18:12:49 +02:00
ext.core.TemplateHandler.js Convert syntactical break flags for templates from counters to the stack 2012-03-14 16:30:59 +00:00
ext.Util.js
ext.util.TokenCollector.js Token representation clean-up. Now all tokens are differentiated using 2012-03-07 20:06:54 +00:00
mediawiki.DOMConverter.js
mediawiki.DOMPostProcessor.js
mediawiki.HTML5TreeBuilder.node.js Shorten data-mw-rt to data-mw and clean up whitelist 2012-04-02 18:12:49 +02:00
mediawiki.parser.defines.js Move link types to data-mw-rt, and support some more template tokenization 2012-03-13 12:32:31 +00:00
mediawiki.parser.environment.js Improved template tokenization. The parser can now template-expand 2012-03-12 17:31:45 +00:00
mediawiki.parser.js
mediawiki.Title.js
mediawiki.tokenizer.peg.js Enable support for block-level wiki constructs in template arguments. This 2012-03-15 11:43:49 +00:00
mediawiki.TokenTransformManager.js Fix some usages of splice.apply in the data model to use 2012-03-10 00:31:28 +00:00
parse.js A few fixes to parser functions and template expansion. Trim whitespace off 2012-03-08 11:44:37 +00:00
pegTokenizer.pegjs.txt JSHint cleanups and parser function argument handling improvements 2012-04-03 18:10:48 +02:00
README.txt

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
jshashes
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)