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 |
||
|---|---|---|
| .. | ||
| Parsoid | ||
| ParserObserverIntegrationTest.php | ||
| TidyTest.php | ||