mediawiki-extensions-Visual.../modules/parser
Subramanya Sastry 3004f3d3db Additional work on readable tokenizer debug output
* Added custom toString functions for extlink and wikilink
* Other minor tweaks

Change-Id: Ife2f840bfa0e77a86acdfdbfb574a230c9bd29dd
2012-07-20 18:12:37 -05:00
..
html5 Update patched html5 library to version 0.3.8 2012-06-06 10:17:03 +02:00
COPYING Document GPL license for Parsoid 2012-07-18 20:14:13 -07:00
core-upgrade.js Added mergeProperties function to Object.prototype 2012-07-20 18:12:37 -05:00
ext.Cite.js Added utility methods to ext.Util.js 2012-07-20 18:12:37 -05:00
ext.cite.taghook.ref.js Added utility methods to ext.Util.js 2012-07-20 18:12:37 -05:00
ext.core.AttributeExpander.js In trace mode, wrap transform to output trace info 2012-07-20 18:12:37 -05:00
ext.core.BehaviorSwitchHandler.js In trace mode, wrap transform to output trace info 2012-07-20 18:12:37 -05:00
ext.core.LinkHandler.js Added 'href' key to anonymous KV wikilink and isbn attribute. 2012-07-20 18:12:37 -05:00
ext.core.ListHandler.js Added utility methods to ext.Util.js 2012-07-20 18:12:37 -05:00
ext.core.NoIncludeOnly.js In trace mode, wrap transform to output trace info 2012-07-20 18:12:37 -05:00
ext.core.ParserFunctions.js Fix padleft / padright (mis)use as substr 2012-06-04 11:30:45 +02:00
ext.core.PostExpandParagraphHandler.js Added utility methods to ext.Util.js 2012-07-20 18:12:37 -05:00
ext.core.QuoteTransformer.js In trace mode, wrap transform to output trace info 2012-07-20 18:12:37 -05:00
ext.core.Sanitizer.js Added utility methods to ext.Util.js 2012-07-20 18:12:37 -05:00
ext.core.TemplateHandler.js Added utility methods to ext.Util.js 2012-07-20 18:12:37 -05:00
ext.Util.js Additional work on readable tokenizer debug output 2012-07-20 18:12:37 -05:00
ext.util.TokenCollector.js In trace mode, wrap transform to output trace info 2012-07-20 18:12:37 -05:00
mediawiki.ApiRequest.js Add ApiRequest 2012-06-02 16:52:51 +02:00
mediawiki.DOMConverter.js
mediawiki.DOMPostProcessor.js Added utility methods to ext.Util.js 2012-07-20 18:12:37 -05:00
mediawiki.HTML5TreeBuilder.node.js Rename data-mw into data-rt 2012-07-16 12:10:08 -07:00
mediawiki.LinearModelConverter.js Rename data-mw into data-rt 2012-07-16 12:10:08 -07:00
mediawiki.parser.defines.js Additional work on readable tokenizer debug output 2012-07-20 18:12:37 -05:00
mediawiki.parser.environment.js Additional work on readable tokenizer debug output 2012-07-20 18:12:37 -05:00
mediawiki.parser.js Big token transform framework overhaul part 2 2012-05-15 17:05:47 +02:00
mediawiki.Title.js Added utility methods to ext.Util.js 2012-07-20 18:12:37 -05:00
mediawiki.tokenizer.peg.js Tokenizer backtracking cache bug fix and memory savings 2012-06-01 12:53:49 +02:00
mediawiki.TokenTransformManager.js Added utility methods to ext.Util.js 2012-07-20 18:12:37 -05:00
mediawiki.wikitext.constants.js Added missing var keyword 2012-07-20 18:12:37 -05:00
mediawiki.WikitextSerializer.js Added utility methods to ext.Util.js 2012-07-20 18:12:37 -05:00
package.json Basic parser / serializer web service 2012-05-23 12:35:00 +02:00
parse.js Very basic interwiki support 2012-06-05 11:19:58 +02:00
pegTokenizer.pegjs.txt Additional work on readable tokenizer debug output 2012-07-20 18:12:37 -05: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