wiki.techinc.nl/tests/phpunit/integration/includes/parser
daniel 5b0d1cfd35 Re-apply: Introduce LanguageVariantConverter
This reverts Ib73841bcc6c101bbe8a76f76dc81553290726039 and re-applies
I55a58f9824329893575a532cd10b9422ededb9ba with some changes: The source
variant is passed in explicitly. More complete handling of the input
language will be added in a follow-up.

Original description:

This class is used in ParsoidHandler::languageConversion

It uses the Parsoid to perform the actual conversion of the content
to a language variant.

The source language is determined using the PageBundle or the page
language from the Title.

To encapsulate Parsoid related concepts, the class has the ability
to create Parsoid\Config\PageConfig if not provided.

Bug: T317019
Change-Id: Ida1a040628c26ac2ef108b0c90a3d3285a493b0e
2022-10-04 20:29:54 +02:00
..
Parsoid Re-apply: Introduce LanguageVariantConverter 2022-10-04 20:29:54 +02:00
ParserObserverIntegrationTest.php
TidyTest.php parser: Use a <meta> tag for the internal TOC_PLACEHOLDER 2022-08-16 06:05:17 +00:00