mediawiki-extensions-Visual.../tests/parser
Gabriel Wicke a8fa9433c4 Convert quote handling (italic/bold) to a core extension operating on the
token stream. This is the first token transformation exercising the
TokenTransformer class as its dispatcher. Template expansions, wiki link
formatting, tag sanitation and extensions should be able to use the same
dispatcher by registering for specific token types.

The parser performance is very slightly improved as the token stream is only
traversed once.
2011-12-12 20:53:14 +00:00
..
dumpReader.js First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00
expansionTest.js First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00
parserTests-whitelist.js Convert quote handling (italic/bold) to a core extension operating on the 2011-12-12 20:53:14 +00:00
parserTests.js Convert quote handling (italic/bold) to a core extension operating on the 2011-12-12 20:53:14 +00:00
parserTests.pegjs First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00
README Use pegjs from npm 2011-12-01 15:23:23 +00:00
roundtrip-test.js Use pegjs from npm 2011-12-01 15:23:23 +00:00
roundtrip.js First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00
tests.html First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00
wikia-rte-roundtrip-tests.xml First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00
worker.js First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00

Work in progress. :)

Batch-testing tools loading the parsing code into node.js, and going through a MediaWiki XML export dump to run round-trip tests over it. Currently not much will succeed as there's bad handling of newlines. ;)

Need npm modules:
* pegjs
* colors
* html5
* jquery
* jsdom
* diff
* libxmljs (requires native compilation)
* optimist (for argument handling)
* webworker