mediawiki-extensions-Visual.../modules/parser
Subramanya Sastry e2197d4d89 Refactored and cleaned up Sanitizer + bug fix.
* Moved all constants to a singleton constants object
* Moved couple methods to mediawiki.Util.js
* Fixed url regexp bug -- relative urls weren't being matched
  but, this bug escaped through because the previous url regexp
  had a typo (which means url sanitization wasn't being done by
  the previous code).  This also means we have to either find
  sanitizer tests or add new ones so these bugs are caught.  Maybe
  parserTests.txt is not the right place for this?

Change-Id: Ia05e1d1596bb9bc4a9eb21d7c77248f5626a710e
2012-07-30 12:52:26 -05:00
..
html5 Update patched html5 library to version 0.3.8 2012-06-06 10:17:03 +02:00
test Merge "Rename data-rt to data-parsoid" 2012-07-26 22:48:56 +00:00
COPYING Document GPL license for Parsoid 2012-07-18 20:14:13 -07:00
core-upgrade.js Addressed review comments from recently merged debug_output branch. 2012-07-24 13:05:04 -05:00
ext.Cite.js Renamed ext.Util.js to mediawiki.Util.js 2012-07-24 13:07:53 -05:00
ext.cite.taghook.ref.js Renamed ext.Util.js to mediawiki.Util.js 2012-07-24 13:07:53 -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 Implement plain image mw:Image and eliminate data-gen 2012-07-24 10:55:12 -07:00
ext.core.LinkHandler.js Link handling improvements 2012-07-30 10:30:10 -07:00
ext.core.ListHandler.js Renamed ext.Util.js to mediawiki.Util.js 2012-07-24 13:07:53 -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 Renamed ext.Util.js to mediawiki.Util.js 2012-07-24 13:07:53 -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 Refactored and cleaned up Sanitizer + bug fix. 2012-07-30 12:52:26 -05:00
ext.core.TemplateHandler.js Renamed ext.Util.js to mediawiki.Util.js 2012-07-24 13:07:53 -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 Renamed ext.Util.js to mediawiki.Util.js 2012-07-24 13:07:53 -05:00
mediawiki.HTML5TreeBuilder.node.js Rename data-rt to data-parsoid 2012-07-26 15:27:32 -07:00
mediawiki.LinearModelConverter.js Rename data-rt to data-parsoid 2012-07-26 15:27:32 -07:00
mediawiki.parser.defines.js Link handling improvements 2012-07-30 10:30:10 -07:00
mediawiki.parser.environment.js Renamed ext.Util.js to mediawiki.Util.js 2012-07-24 13:07:53 -05:00
mediawiki.parser.js Big token transform framework overhaul part 2 2012-05-15 17:05:47 +02:00
mediawiki.Title.js Renamed ext.Util.js to mediawiki.Util.js 2012-07-24 13:07:53 -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 Renamed ext.Util.js to mediawiki.Util.js 2012-07-24 13:07:53 -05:00
mediawiki.Util.js Refactored and cleaned up Sanitizer + bug fix. 2012-07-30 12:52:26 -05:00
mediawiki.wikitext.constants.js Added missing var keyword 2012-07-20 18:12:37 -05:00
mediawiki.WikitextSerializer.js Link handling improvements 2012-07-30 10:30:10 -07:00
package.json Parsoid: move tests/parser to modules/parser/test 2012-07-25 02:29:25 +02:00
parse.js Added html2wt command-line option to parse.js 2012-07-24 10:30:44 -05: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