mediawiki-extensions-Visual.../modules/parser
Subramanya Sastry f87ed719e6 Added utility methods to ext.Util.js
* Copied over utility methods from mediawiki.parser.environment.js
  to ext.Util.js.
* Moved over utility method from mediawiki.parser.defines.js to
  ext.Util.js.
* Converted Util to be a singleton object rather than an allocatable
  class.  There is no reason to allocate a new utility class everywhere
  since this utility object has no useful state.
* Fixed up use of utility methods to use Util rather than env.

Change-Id: Ib81f96b894f6528f2ccbe36e1fd4c3d50cd1f6b7
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 utility methods to ext.Util.js 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 Added utility methods to ext.Util.js 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 Replace console.log with console.warn in all debug statements 2012-02-14 20:56:14 +00:00
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 Added utility methods to ext.Util.js 2012-07-20 18:12:37 -05:00
mediawiki.parser.environment.js In trace mode, wrap transform to output trace info 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 Output chunk tokens to console only in trace mode 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