mediawiki-extensions-Visual.../modules/parser
Subramanya Sastry 6b8a4b386e Removed utility functions from mediawiki.parser.environment
* these functions have already been added to ext.Util.js
* removed a couple jshint warnings.
* minor code restructuring in tokensToString and comments
  to better indicate what is going on.

Change-Id: I9d6a03cc35075e1a64d8fac9e167a3ce4ccd9424
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 Removed utility functions from mediawiki.parser.environment 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 Removed utility functions from mediawiki.parser.environment 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