wiki.techinc.nl/tests/parser
Func fc5f2119b0 RemexCompatFormatter: Don't encode HTML entities in raw-text elements
Before commit 5d317c2, this encoding happens in the parser before
calling the ParserAfterTidy hook, at this stage, the input usually
don't contain any raw-text elements, all good;

After commit 5d317c2 but before the core is actively using the
RemexCompatFormatter for OutputTransform, the bug can only be triggered
by extensions. But for now, the transform can happen on every page
with a ToC.

The issue and the fix is similar to T255007 and commit c44a395, which
5d317c2 follows-up to, so I am a bit confused why this stays broken.

Bug: T406391
Change-Id: I41959bf5ee243bdcfba571eb8f121fb571d960db
(cherry picked from commit e928409b4f7a81a8ee02d563c18829d5524e0fa6)
2025-10-09 12:24:14 -04:00
..
AnsiTermColorer.php
badCharacters.txt SECURITY: Ensure emitted HTML is safe against Unicode NFC normalization 2025-04-10 15:56:06 +01:00
comments.txt
DbTestPreviewer.php Use expression builder to avoid IDatabase::addQuotes 2024-07-18 18:44:34 +00:00
DbTestRecorder.php Pass function name to IDatabase functions 2024-09-19 21:02:52 +02:00
definitionLists.txt
DjVuSupport.php
DummyTermColorer.php
editTests.php Add namespace to maintenance/includes classes 2024-10-09 11:02:09 -04:00
extLinks.txt Update RfC links to bypass redirect 2025-06-03 16:37:04 -04:00
fuzzTest.php tests: Use namespaced ParserOptions 2024-10-16 01:35:06 +01:00
headings.txt Use Remex/HtmlHelper to implement Parser::replaceTableOfContents 2025-09-29 22:01:08 +00:00
indentPre.txt
indicators.txt Sync up core repo with Parsoid 2024-09-12 18:58:43 +03:00
interlanguageLinks.txt Sync up core repo with Parsoid 2024-09-24 12:36:03 -04:00
interwikiLinks.txt Sync up core repo with Parsoid 2025-06-03 17:36:27 -04:00
langParserTests.txt Sync up core repo with Parsoid 2025-06-03 17:36:27 -04:00
legacyHeadings.txt Use Remex/HtmlHelper to implement Parser::replaceTableOfContents 2025-09-29 22:01:08 +00:00
legacyMedia.txt Update RfC links to bypass redirect 2025-06-03 16:37:04 -04:00
magicLinks.txt Update RfC links to bypass redirect 2025-06-03 16:37:04 -04:00
magicWords.txt parser: Add a new {{USERLANGUAGE}} magic word for use in wikitext 2024-09-07 19:16:32 +00:00
media.txt Sync up core repo with Parsoid 2025-06-03 17:36:27 -04:00
MultiTestRecorder.php
ParserTestMockParser.php tests: Use namespaced ParserOptions 2024-10-16 01:35:06 +01:00
ParserTestParserHook.php
ParserTestPrinter.php
ParserTestResult.php
ParserTestResultNormalizer.php
ParserTestRunner.php PaserTestRunner: Avoid json_decode deprecation warning 2024-12-26 23:49:11 +00:00
parserTests.php Add namespace to maintenance/includes classes 2024-10-09 11:02:09 -04:00
parserTests.txt RemexCompatFormatter: Don't encode HTML entities in raw-text elements 2025-10-09 12:24:14 -04:00
pfeqParserTests.txt
PhpunitTestRecorder.php
preprocessor.txt
preTags.txt
pst.txt
pWrapping.txt
quotes.txt
README
redirects.txt
tables.txt Sync up core repo with Parsoid 2024-09-12 18:58:43 +03:00
TestFileEditor.php
TestRecorder.php
wtEscaping.txt Update RfC links to bypass redirect 2025-06-03 16:37:04 -04:00

Parser tests can be run either via PHPUnit or by using the standalone
parserTests.php in this directory. The standalone version provides more
options.

To run parser tests via PHPUnit:

 $ composer phpunit -- --testsuite parsertests

You can optionally filter by title using --filter, e.g.

 composer phpunit -- --testsuite parsertests --filter="T6400"