mediawiki-extensions-Visual.../modules/parser
Gabriel Wicke b1bd0d73ec Don't eat end token in ListHandler, and lazier Quote handler registration
* Setting the rank on tokens is still used currently, but will be phased out
  in favor of setting it on chunks. Tokens will be immutable to allow sharing
  and caching without a need for cloning.
* Only register for newline and end tokens in QuoteTransformer when active.

Change-Id: I2c45bc7e4a105219a1404ab221eed7f242128f1e
2012-05-10 09:47:53 +02:00
..
html5 Land big TokenTransformDispatcher and eventization refactoring. 2012-01-03 18:44:31 +00:00
ext.Cite.js Forward-port Cite extension 2012-05-03 13:22:01 +02: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.AttributeExpander.js Biggish token transform system refactoring 2012-04-25 16:51:36 +02:00
ext.core.BehaviorSwitchHandler.js "magic words" are tokenized and used to set parser.environment flags 2012-04-04 11:25:29 -07:00
ext.core.LinkHandler.js Use upright option, including the 0.75 default width 2012-05-04 11:15:35 +02:00
ext.core.ListHandler.js Don't eat end token in ListHandler, and lazier Quote handler registration 2012-05-10 09:47:53 +02:00
ext.core.NoIncludeOnly.js Collected tweaks 2012-04-16 15:47:03 +02:00
ext.core.ParserFunctions.js Clone cached tokens, and fix switch for empty needle 2012-04-27 15:59:01 +02:00
ext.core.PostExpandParagraphHandler.js Forward-port Cite extension 2012-05-03 13:22:01 +02:00
ext.core.QuoteTransformer.js Don't eat end token in ListHandler, and lazier Quote handler registration 2012-05-10 09:47:53 +02:00
ext.core.Sanitizer.js Delay some token duplication until actual mutation happens 2012-04-18 17:53:04 +02:00
ext.core.TemplateHandler.js Add basic # REDIRECT handling 2012-05-03 15:54:36 +02:00
ext.Util.js Nominate more HTML5 sectioning and heading elements for block-level treatment 2012-04-11 12:53:49 +02:00
ext.util.TokenCollector.js Forward-port Cite extension 2012-05-03 13:22:01 +02: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 Biggish token transform system refactoring 2012-04-25 16:51:36 +02:00
mediawiki.HTML5TreeBuilder.node.js Biggish token transform system refactoring 2012-04-25 16:51:36 +02:00
mediawiki.LinearModelConverter.js Add HTML DOM -> linear model converter 2012-03-29 12:47:14 -07:00
mediawiki.parser.defines.js Biggish token transform system refactoring 2012-04-25 16:51:36 +02:00
mediawiki.parser.environment.js Reduce debugging overhead a bit, and provide default internal image size 2012-05-03 14:49:55 +02:00
mediawiki.parser.js List markup is created during the sync23 phase. 2012-05-08 11:39:36 +02:00
mediawiki.Title.js Add basic thumb rendering support 2012-04-09 23:04:26 +02:00
mediawiki.tokenizer.peg.js Reduce the need for token cloning slightly 2012-04-27 23:12:25 +02:00
mediawiki.TokenTransformManager.js Forward-port Cite extension 2012-05-03 13:22:01 +02:00
package.json Biggish token transform system refactoring 2012-04-25 16:51:36 +02:00
parse.js Fix --wikidom and --linearmodel parse.js options; retry on template fetch failures 2012-04-26 19:51:00 +02:00
pegTokenizer.pegjs.txt List markup is created during the sync23 phase. 2012-05-08 11:39:36 +02: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