mediawiki-extensions-Visual.../modules/parser
Gabriel Wicke 3e0e11b1d0 Sanity check for tokens being an array
Change-Id: Ia4e4071e1469c31e3b320d854500938bb0245f82
2012-05-24 14:35:58 +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 Big token transform framework overhaul part 2 2012-05-15 17:05:47 +02:00
ext.core.BehaviorSwitchHandler.js Big token transform framework overhaul part 2 2012-05-15 17:05:47 +02:00
ext.core.LinkHandler.js Fix an external link regression, and add server shell wrapper and setup docs 2012-05-23 16:25:42 +02:00
ext.core.ListHandler.js Don't eat newline tokens in the ListHandler 2012-05-16 23:14:21 +02:00
ext.core.NoIncludeOnly.js Big token transform framework overhaul part 2 2012-05-15 17:05:47 +02:00
ext.core.ParserFunctions.js Fake fullpagename et al a bit better 2012-05-24 11:05:31 +02:00
ext.core.PostExpandParagraphHandler.js Big token transform framework overhaul part 2 2012-05-15 17:05:47 +02:00
ext.core.QuoteTransformer.js Don't eat newline tokens in the ListHandler 2012-05-16 23:14:21 +02:00
ext.core.Sanitizer.js Big token transform framework overhaul part 2 2012-05-15 17:05:47 +02:00
ext.core.TemplateHandler.js Fix non-existing revision error reporting 2012-05-24 10:50:47 +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 Big token transform framework overhaul part 2 2012-05-15 17:05:47 +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 Big token transform framework overhaul part 2 2012-05-15 17:05:47 +02:00
mediawiki.LinearModelConverter.js Add HTML DOM -> linear model converter 2012-03-29 12:47:14 -07:00
mediawiki.parser.defines.js Big token transform framework overhaul part 2 2012-05-15 17:05:47 +02:00
mediawiki.parser.environment.js Sanity check for tokens being an array 2012-05-24 14:35:58 +02:00
mediawiki.parser.js Big token transform framework overhaul part 2 2012-05-15 17:05:47 +02:00
mediawiki.Title.js Add basic thumb rendering support 2012-04-09 23:04:26 +02:00
mediawiki.tokenizer.peg.js Keep going on tokenizer errors 2012-05-24 10:30:32 +02:00
mediawiki.TokenTransformManager.js Add some checks against undefined tokens returned from async transforms 2012-05-23 16:32:21 +02:00
mediawiki.WikitextSerializer.js Improve the serializer and its output display in the web service 2012-05-23 17:50:35 +02:00
package.json Basic parser / serializer web service 2012-05-23 12:35:00 +02:00
parse.js Basic parser / serializer web service 2012-05-23 12:35:00 +02:00
pegTokenizer.pegjs.txt Link round-tripping and other improvements 2012-05-22 13:36:06 +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