Wikitext/Parsoid test cases

(Redirected from Parsoid/test cases)

This is a single file containing thousands of tests for Wikitext

MediaWiki PHP Parser

edit

The MediaWiki core code base contains the authoritative source of the parser testing framework.

Parsoid

edit

Since June 2013, the test cases for Parsoid have resided in the Parsoid repository. Parsoid's copy of the parser tests and Mediawiki core's copy of parser tests are regularly synced which ensures that the two files never diverge very far.

This file provides important compatibility information about wikitext (expected behavior for wikitext to HTML and HTML to wikitext). It also captures differences between the output / behavior of the Parsoid and the PHP parser.

The github mirror of the latest version of this file is at https://phabricator.wikimedia.org/diffusion/GPAR/browse/master/tests/parserTests.txt